Welcome Guest, Not a member yet? Register   Sign In
jquery with forms
#7

[eluser]A.M.F[/eluser]
thanks for ur reply.
i modified my code and now the data is beeing transfered to the DB exept for the content of the field.

this is part of the js code:
Code:
$.post("<?=site_url_rel("show/game/".$game_id)?>", {content: $("input#content").html()}, function(xml) {

and this is part of my view:

Code:
<?=form_open('show/comment/' . $id, $data);?>
<br />&lt;textarea name="content" id="content" maxlength="300" class="big_txt"&gt;&lt;?=$this->obj->validation->content?&gt;&lt;/textarea&gt;


i can't put my finger on the problam, what do u think?
ps
i am looking for good example code of jQuery so i'll learn the syntax,

cheers!


Messages In This Thread
jquery with forms - by El Forum - 02-15-2008, 07:05 AM
jquery with forms - by El Forum - 02-15-2008, 08:00 AM
jquery with forms - by El Forum - 02-16-2008, 11:29 AM
jquery with forms - by El Forum - 02-16-2008, 02:08 PM
jquery with forms - by El Forum - 02-17-2008, 08:08 AM
jquery with forms - by El Forum - 02-17-2008, 09:04 AM
jquery with forms - by El Forum - 02-17-2008, 09:40 AM
jquery with forms - by El Forum - 02-17-2008, 09:50 AM
jquery with forms - by El Forum - 02-17-2008, 10:02 AM
jquery with forms - by El Forum - 02-17-2008, 10:13 AM
jquery with forms - by El Forum - 02-17-2008, 10:24 AM
jquery with forms - by El Forum - 02-17-2008, 10:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB