|
-
Jul 12th, 2008, 10:18 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [2005] Get Attributes ID from ASP.NET to Javascript
Hi,
I have created a list of input delete buttons in server side eg.
<input type="Button" value="Delete" id="DeleteButton" >
I want to put confirmation but somehow I need to pass in 1 value from server side in order for me to process? Any suggestion on how should I go about doing that?
var confimDelete = confirm("Confirm delete?");
if (confimDelete == true) {
window.location.href = "AnotherForm.aspx?ID=" + howtoretrievefromServer();
} else {
window.event.returnValue = false;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|