So far, this works in IE 8 and Firefox 3.5 under Windows 7, but doesn't work in Chrome 4.1 in Windows 7.
I am sending the source code:
script += "<input type='hidden' name=a' value='a'>"
script += "<input type='hidden' name='b' value='b'>"
script += "<input type='hidden' name='c' value='c'>"
script += "<input type='hidden' name='z' value='z'>"
script += "</form>"";"
script += "document.forms['dynForm'].submit();}</script>"
Dim csm As ClientScriptManager = Me.ClientScript
csm.RegisterClientScriptBlock(Me.GetType(), "PostToDF", script)
Me.Login.OnClientClick = "return FireNow();"
this code if executed when an user selects an item from a drop down list. next, this user will click on an asp.net button called Login.
Any help, hints, clues, tips, etc will be enormously appreciated. my boss thinks that if i cover ie and firefox altogether i did most of my work, but i think chrome is currently the second most used browser, so this is important.
chrome incognito mode
it wasn't working on chrome only in my laptop because sometimes i surf the internet in incognito mode. some other settings i have, which are not chrome default settings, don't let my script work even if i don't surf as incognito. thus, my script will work in chrome with default settings in windows 7, windows vista and mac os. my script my work in other opeating systems as well.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL