Karl
I've tried:
$(document).ready(function(){
$('#fname').bind("submit", function() {
myfunc('param1','param2','param3');
return false;
});
});
and
$(document).ready(function(){
$('#buttonid).click(function() {
myfunc('param1','param2','param3');
return false;
});
});
as well as your suggestion. The strange thing is that none of these
even work in FF let alone IE for me. Just the onClick="blah" in the
actual <input type = "submit" ...> tag works. Everything else submits
the page for a reload.... I check the http headers and under FF and
IE the script files seem to be included and loading. I'll try messing
around with it some more.
> $(document).ready(function() {
> $('#fname').submit(function() {
> myfunc('param1','param2','param3');
> return false;
> });
>
> });
>