I have a form with name and id testform containing an <input type="text" name="name" id="name"> and a button next to it <input type="button" name="check" id="check">. I want to open a new window (if possible with parameters such as height, width, toolbar etc) on click of button with a specific url www.example.com/test.php?.
I am looking for something like
$('#check').live('click', function() {
window.location = "url";
return false;
});
How can I make this possible??
Thanks in advance… :)
blasteralfred
You can also give it focus like this:
More info.