Just a little observation about the javascript’s window.open method

well today I was just putting in a pop up window in my application using the Javascript’s window.open method and at first I wrote this:

window.open(“printApp.aspx”,“Print barcode window”,”status=0,width=380,height=175,location=0,scrollbars=0,resizable=0″);

and that was working in Firefox but when I fired up IE to see whats happening there it was giving an invalid parameter’s error. So I started trimming the parameters off one by one and it turned out that there should be no spaces in that second parameter highlighted as bold. 🙂


How to go back to the previous page using Javascript

well, this is how you can go back to the previous page through Javascript.