Hi there i woul like to pass my variable "testiframe" from javascript to asp, hw can i do???
Thi is the code :
<script type="text/javascript">
if (location.href != top.location.href) {
testiframe="ok"
} else {
testiframe="ko"
}
</script>
Hi there i woul like to pass my variable "testiframe" from javascript to asp, hw can i do???
Thi is the code :
<script type="text/javascript">
if (location.href != top.location.href) {
testiframe="ok"
} else {
testiframe="ko"
}
</script>
One way is to have a hidden input element and assign the value to it. Then on the post-back or form submission, read the value server-side.
wow ...thanks!!!
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.