User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 428,567 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,652 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting

"i want used confirm in javascript in code behind"

Join Date: May 2007
Posts: 18
Reputation: NET-Developer is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
NET-Developer NET-Developer is offline Offline
Newbie Poster

Re: "i want used confirm in javascript in code behind"

  #3  
Jun 14th, 2007
Put your JS-code into some function like
function MyFunction()
{
... your code
}

And call this function by onClick event of your button (onClick="if(MyFunction()) { window.location.href='where.you.want.to.redirect'; }")
Last edited by NET-Developer : Jun 14th, 2007 at 9:07 am. Reason: it was posted uncompleted
Reply With Quote  
All times are GMT -4. The time now is 11:13 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC