Forum Moderators: open

Message Too Old, No Replies

How to execute a remote javascript on a remote site?

         

aligocmen

11:31 am on Apr 15, 2010 (gmt 0)

10+ Year Member



Hi there ,

I tried to execute remote javascript on a remote site. The document is .Jsp File including javascript function.

I did DrDoc' s suggestion, but it was returning error message.

I tried belove ;

<html>
<head>
<title>Deneyelim bakalım çalışacak mı?</title>
<script src="https://example.com/internetvd/index.jsp?page=IVD_VRG_LVH" type="text/javascript"> </script>

<script type="text/javascript">
girdiDenetleSorgu()
</script>

</head>

is there something wrong ?

Thanks for advices..
</html>

[edited by: Fotiman at 12:23 pm (utc) on Apr 15, 2010]
[edit reason] Examplified URL [/edit]

Fotiman

12:25 pm on Apr 15, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld!
If the JSP page is returning a full HTML page, then this will probably not work.

caribguy

3:57 pm on Apr 15, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a feeling you're misinterpreting the meaning of .jsp at the end of the file.

The extension usually stands for Java Server Pages, a technology to create dynamic websites from Sun Microsystems... See here for an outline: http://java.sun.com/products/jsp/ [java.sun.com]