Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2008-12-25 : 05:13:17
|
Hello,I have a page, that disables a button on submit.It utilizes a disable button on page load. Which works and is ok, but I noticed, in firefox and netscape navigator ( WHICH ARE THE SAME BROWSER)It submits the request twice, How can I disable or guard against this ?ThanksEhiThe disable script am using is thus clickHandler = string.Format( "document.body.style.cursor = 'default'; this.value='Please wait...': this.disabled = true; {0};", this.ClientScript.GetPostBackEventReference(Button1, string.Empty.)); Button1.Attributes.Add("onclick", clickHandler); |
|
jdl
Starting Member
1 Post |
Posted - 2009-01-23 : 16:12:17
|
I just stumbled on the same issue. Both FF 2.x and 3.x, it does not happen in IE. No solution yet. |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2009-01-23 : 16:24:16
|
no clue why, but have you reported this to FF team? someone has certainly found a workaround for this...___________________________________________________________________________Causing trouble since 1980Blog: http://weblogs.sqlteam.com/mladenpSpeed up SSMS development: www.ssmstoolspack.com <- version 1.1 out! |
|
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2009-01-28 : 01:53:37
|
I submitted to FF feedback page, but never got a follow up. But finally got a work around it, i added a check in my stored procedure to check the transactions, time difference if a transaction was submitted 3 seconds before, then return.But before exiting the the SP, make a log of it, and i noticed it happens in FF and netscape ( which is the same browser ) all the time.I guess this will work for now. |
|
|
|
|
|
|
|