How to Add Message and Confirmation Boxes Using JavaScript?
Answer / guest
public void AddConfirmMessage(WebControl ctl, string
message)
{
ctl.Attributes.Add("onclick", "if ( ! confirm( '"
+ message + "' )) return false; ");
}
public void AddPopupMessage(WebControl ctl, string message)
{
ctl.Attributes.Add("onclick", "alert( '" + message
+ "'); ");
}
| Is This Answer Correct ? | 2 Yes | 1 No |
determine which key was pressed and its type
how to Scroll a DIV content
how to get the User's Time of Day
how to convert between arrays and strings
Code for Adding Message and Confirmation Boxes Using JavaScript?
how to copy form data between different pages
program to bring a window to the front
write a code to generate pseudorandom numbes
Reading which Character Key was pressed
how to create an anonymous function
how to create Expandable and Collapsible Menus
how to transform XML Data into HTML