how can we use java script message alert with asp.net with
useing vb.net coding show full process with its coading
Answer / me
To work with javascript in ASP.NET, the best way to do it,
is using the Page.ClientScript object at some point.
For instance, if you want to show an alert box when the
page is finished loading, use this:
string javascript = "alert('Finished loading!');"
Page.ClientScript.RegisterStartupScript(typeof
(string), "key", javascript,true);
The ClientScript object has other methods, like
RegisterClientScriptBlock, RegisterClientScriptInclude,
RegisterExpandoAttribute and so on, which all allow you to
add javascript to the page in different ways.
Is This Answer Correct ? | 1 Yes | 0 No |
Explain the working of timers in JavaScript? Also elucidate the drawbacks of using the timer, if any?
What is the difference between undefined and not defined in JavaScript?
How to validate email in javascript?
What is difference between api and library?
Describe javascript and vbscript.
How can you detect the client operating system using javascript?
What is the difference between the operators '==' and '==='?
What are events in javascript?
How is a relation not a function?
How long does it take to get good at javascript?
Is client side front end?
In javascript chained select menus are available.first select menu is worked and others are disabled.when we select any one option then the next select menu will worked having option releated to selcted in first select menu.How it possible? what is the coading of this programme?