⬅︎ Back to Button tag in bloody Internet Explorer
hey guys,when i use <button> in FF with my ASP.Net App. The page is getting unecessarily refreshed.where as it works fine with IE.I have numbers of <button> tag in my page, i mean they are getting created dynamically.Coz m using the btn tag just 2 call a javascript so i dont want page to be refreshed.Any Comments/workarounds.
You can add attribute type="button" inside the button tag, then ur problem could be solved.
Comment
hey guys,
when i use <button> in FF with my ASP.Net App. The page is getting unecessarily refreshed.
where as it works fine with IE.
I have numbers of <button> tag in my page, i mean they are getting created dynamically.
Coz m using the btn tag just 2 call a javascript so i dont want page to be refreshed.
Any Comments/workarounds.
Replies
You can add attribute type="button" inside the button tag, then ur problem could be solved.