Easy question. about passing values

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

HI! I need to pass a value but I am not sure how to added to this statement.

<a href="javascript:loadintoIframe('myframe', 'external.htm')">Link</a>

I want to pass this
ifp=../Files/somehtmlfile.htm

for a link I use the ? eg.. ?ifp=../Files/somehtmlfile.htm

but I am not sure how to add it in the above statement. ( the one in RED )

Can someone tell me how?


Thanks in advance :)

Paul
 
Paul said:
HI! I need to pass a value but I am not sure how to added to this statement.

<a href="javascript:loadintoIframe('myframe', 'external.htm')">Link</a>

I want to pass this
ifp=../Files/somehtmlfile.htm

for a link I use the ? eg.. ?ifp=../Files/somehtmlfile.htm

but I am not sure how to add it in the above statement. ( the one in RED )

Can someone tell me how?


Thanks in advance :)

Paul

Probably

<a href="javascript:loadintoIframe('myframe',
'external.htm?ifp=../Files/somehtmlfile.htm')">Link</a>

Does "external.htm" reference the Query String;
perhaps via JavaScript's location.search?
 
Back
Top