JavaScript to change value for webpage

S

spenn

I have one web page that I want to use to view all the snapshot reports. When
a user link the hyberlink I want to get the name of the file and assign it to
the snapshot value propety so that they can view it?

I need javascript code to take the paramters out of the hyperlink and insert
it to the value property in the snapshot code which is html.

Thanks can anybody help me
 
J

Jon Spivey

Hi,
I'm not sure what snapshot is. In general you can get the href from a link
like this
<a href="page.htm" onclick="alert(this.href); return false;">link</a>

If this doesn't help can you explain the snapshot thing please
 
R

Rob Giordano \(Crash Gordon®\)

I wonder if it's that Access report viewer thing?





| Hi,
| I'm not sure what snapshot is. In general you can get the href from a link
| like this
| <a href="page.htm" onclick="alert(this.href); return false;">link</a>
|
| If this doesn't help can you explain the snapshot thing please
|
| --
| Cheers,
| Jon
| Microsoft MVP
|
| | >I have one web page that I want to use to view all the snapshot reports.
| >When
| > a user link the hyberlink I want to get the name of the file and assign it
| > to
| > the snapshot value propety so that they can view it?
| >
| > I need javascript code to take the paramters out of the hyperlink and
| > insert
| > it to the value property in the snapshot code which is html.
| >
| > Thanks can anybody help me
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top