I am a newbie at jQuery. I was trying some things but I need some help.
I have the following script
jQuery(function($){
$("#query").whatever({
parameter1: 32,
parameter2: 4,
query: "something"
});
});
I need a script to change query: "something" to query: "something else" by a submit form. Is it possible?
ps: i change $("#query").something to $("#query").whatever to dont confused with the parameter query: "something"
Actualy i use jquery code from http://tweet.seaofclouds.com/ I want to change the “query” parameter in example 2 as i told before, by a submit form.
take a look at : http://api.jquery.com/jQuery.extend/
with a form :