I have a following JavaScript code !
[code=JavaScript]
document.forms['CalendarTypeMa ster'].elements['action'].value = action;
document.forms['CalendarTypeMa ster'].method = "POST"; document.forms['CalendarTypeMa ster'].setAttribute(' action',"calend arTypeMgmt.htm" );
document.forms['CalendarTypeMa ster'].submit();
[/code]
The form contains a element name action and form has also a property action, earlier what i did ...that was ..
[code=text]document.forms['CalendarTypeMa ster'].action="calend arTypeMgmt.htm" );
";[/code]
Now it's not working.
[code=JavaScript]
document.forms['CalendarTypeMa ster'].elements['action'].value = action;
document.forms['CalendarTypeMa ster'].method = "POST"; document.forms['CalendarTypeMa ster'].setAttribute(' action',"calend arTypeMgmt.htm" );
document.forms['CalendarTypeMa ster'].submit();
[/code]
The form contains a element name action and form has also a property action, earlier what i did ...that was ..
[code=text]document.forms['CalendarTypeMa ster'].action="calend arTypeMgmt.htm" );
";[/code]
Now it's not working.
Comment