[jQuery] Re: How to pass a Jquery variable to php?

2009-10-10 Thread Karl Swedberg
On Oct 9, 2009, at 5:05 PM, LWD wrote: Hi! How can i pass a jquery variable to a php variable? Or pass a jquery variable in GET or POST. Thanks!! Take a look at jQuery's Ajax methods -- for example, $.get() and $.post() -- and note the data argument: http://docs.jquery.com/Ajax/jQuery.get

[jQuery] Re: How to pass a Jquery variable to php?

2009-10-09 Thread ngreenwood6
depends on what you are trying to do. say you had this form: in jquery you can simply do this: var name = $("#name").val(); you could then send a post or get using jquery to pass that variable on submit Leandro Dias wrote: > > > Hi! > How can i pass a jquery variable to a php variable?