List Info

Thread: Execution of javascript via URL entry




Execution of javascript via URL entry
user name
2006-08-22 07:39:17
Hi all,

Not being a javascript programmer, I need some information
on execution
of javascripts in a web browser.
At our local TV station, we have equipment that is
controllable via web
interfaces. For example, our LCD projector can be controlled
thru a web
interface with buttons for switching on, off etc.
These control buttons are created in javascript. If I click
on such a
button, I can see in the status bar
"javascript:buttonPower("Up);"
Is it possible to execute that same script by typing it in
the URL bar?
Like
\\Projector\control.html?"javascript:buttonPower(&
quot;Up")" or
something?


Thanks,
Eggman


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Informationgooglegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/JavaScript-Information
-~----------~----~----~----~------~----~------~--~---

Execution of javascript via URL entry
user name
2006-08-27 22:47:02
accually you can should be able to do use the location to
extract whats
after the ?
Then just run an eval on it. should work.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Informationgooglegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/JavaScript-Information
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )