onclick how to pass dynamic asp variable and use it in another div?
Hello, I am trying to access a dynamic asp variable with onclick either in a javascript function where I can use it globally or set another div id with this dynamic variable.
Any help is very much appreciated. Thank you!
<script>
function doSomething(article_id)
}
return article_id;
not sure exactly what you're trying to accomplish, but, in general, to access server-side code from the client-side code you must use something like jQuery/Ajax
I am trying to access the article_id (which changes when clicked) inside the div called test... I have pasted in my entire code, please take a look again:
Bookmarks