C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Cross Browser functionality in Asp page


Posted Date: 03 Jan 2007      Total Responses: 5

Posted By: srinivas       Member Level: Silver     Points: 2


Hi,

I am developing a classic asp page that should work in IE, Fire fox and Netscape.

It is working fine IE but I am facing JavaScript issues in others.

I am giving alert message in java script when the user does not enter the mandatory info.
In Fire Fox and Netscape in case of alert message, on click of Ok on alter message still it is posting back to the server; but I want to retain on the page in case of any alert.

Please let me know how I can do that

Regards,








Responses

Author: Vadivel Mohanakrishnan    03 Jan 2007Member Level: DiamondRating:     Points: 2
may be you need to give "return false"


Author: srinivas    03 Jan 2007Member Level: SilverRating:     Points: 2
i am giving it, but it is not working in Firefox and Netscape


Author: Vadivel Mohanakrishnan    03 Jan 2007Member Level: DiamondRating:     Points: 2
If possible post the piece of code which isn't working. That way ppl can try and fix it.

btw, i have only IE in my box .. so i think i can not help you further in this.


Author: Pankaj Mishra    03 Jan 2007Member Level: DiamondRating:     Points: 2
try this,
window.returnValue = false;

regards
Pankaj


Author: srinivas    03 Jan 2007Member Level: SilverRating:     Points: 2
i found the sol for this..
on onclick we have give like return functionname();
that way it is working fine


Post Reply
You must Sign In to post a response.
Next : Smart Navigation
Previous : urgent plzz
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

SPOC

Contact Us    Privacy Policy    Terms Of Use