Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Eat your variables
Message
From
17/04/2012 04:18:33
 
 
To
16/04/2012 16:19:00
General information
Forum:
Javascript
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01541532
Message ID:
01541797
Views:
36
>>Thanks Mike, but all I need is get the src= in iframe to accept a variable the way p id="lcDoc" /p does.
>>It seems that src will only accept an explicit path. Is that possible, and if so, do you know the syntax?
>
>
>The right way to do it is to use AJAX.
>
>Not only does it work, but it's the proper way to do things, so not only will you be making a website that doesn't look like it was hacked together in 1996, you will also have a new marketable skill.
>
>http://www.w3schools.com/jquery/jquery_ajax.asp
>
>
>Look how simple the code is:
>
>http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_ajax1
>
>It doesn't exactly what you want.

I write code that like too :-}

Kidding aside, it doesn't do exactly what's required - the name of the file to retrieve from the server needs to be dynamic....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform