views:

21

answers:

1

Hi All,

I have an asp page and in asp page there is iframe having HTML page. What i need is to send two values from asp page to inner HTML page. How is it possible.

+2  A: 

You can pass them as query string vars:

<iframe src="page.asp?var1=<%=var1%>&var2=<%=var2%>"></iframe>
Sarfraz
David Dorward
Thanks for reply but I have HTML page in the iframe.... SO...
Anil
@Anil Kumar: If it is html page how will you process the query string vars? Shouldn't it be asp page too?
Sarfraz
@ sAc..Thanks for reply...Yes i know but i it is a HTML template( NEEDED HTML) which brigs dynamic news article. so all the things are going well but i need the article id of asp page to send farward using javascript.
Anil
Sarfraz
let me check....
Anil
Thanks, sAc....
Anil
@Anil Kumar: You are welcome :)
Sarfraz