Guys i have a question !!

lets say that i code something in java-script for client side and vb-script in the back-end, now is it possible to execute vb-script in the back-end only once java-script gets executed!!

there's an asp button on click java-script should get executed then the vb-script in the same page should get executed!

there's some looping in java-script and it ll be stored in hidden field , then im accessing value of hidden field !

both should happen one after other from a single asp button click .

Thanks in advance :)

Member Avatar for stbuchok

Setup a web service and then you can call the web service from JavaScript. This will allow you to call whatever you want to do on the server side from the client side.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.