|When I tried using below code it correctly worked. FireFox opened webpage mentioned in action attribute (page name without protocol, domain and virtual directory).
var f1 = document.createElement("form");
f1.id = 'MYFORM';
f1.name = 'MYFORM';
f1.method = 'post';
I could not guess why in my main application's code (posted before this post) is not showing complete url when "alert" is done. In that it shows only the page name and not the complete url.
Can anyone guess what might be the reason for this...
Software Engineer, Pune