vb.net - How to run javascript function from aspx page? -
i have written code there 27 different functions execute this..
elseif websiteid = 15 parsertravelpost(hotelurl, hotelid, websiteid) nextpagelink = "" elseif websiteid = 16 parsertripadviosr(hotelurl, hotelid, websiteid) nextpagelink = "" elseif websiteid = 17 parsertriptake(hotelurl, hotelid, websiteid) nextpagelink = "" elseif websiteid = 18 ........
after every function want literal or other way tell function finished... example after first function finish , literal should shows example finished starting function 2 ...
any help/tips/code?
thank you
you can simplay response.write javascript code or can use registerclicentscriptblock in asp.net
//vb version
dim scripttext string scripttext = "return confirm('do want submit page?')" clientscript.registeronsubmitstatement(me.gettype(), _ "confirmsubmit", scripttext)
hope helps.
Comments
Post a Comment