Displaying 1 result from an estimated 1 matches for "button1func".
2008 Jan 31
3
Multiple form weirdness in IE6
...couple of hidden inputs. The second form has all the
visible controls including three buttons. Each of these buttons has a
behaviour attached to it (From Ben Nolan''s Behaviour.js) based on its
id. The code for the first button is something like this (I am also
using prototype.js):
var button1Func = function(event)
{
alert("I am in button1Func");
$(''secondForm'').submit();
};
Behaviour.register(
{
''#button1'': function(element)
{
Event.observe(element, ''click'', button1Func);
}
});
When the...