iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > JavaScript

Reply
 
LinkBack Thread Tools
Old March 27th, 2009, 03:50 AM   #1
New Member
 

Join Date: Mar 2009
Location: bd
Age: 20
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 omar391 is on a distinguished road
Unhappy ::Get string from url::..How to..

Suppose i have to files named 'main.html' and 'go.html' in same directory.
and the url of -
main.html = http://...../main.html?id=123

Now i want to read this string 123 and place it in an iframe inside main.html.

as like-

Code:
<html>

<body>

<iframe style="vertical-align: middle;" height="30%" SRC="go.html#id" scrolling="auto" width="100%" 

frameborder="0"></iframe>

</body>
</html>
is there any way i could get that string in SRC="go.html#id n replace id with 123.

i thought SRC="go.html#<? print($id) ?>" may work.but it didnt.
my host doesnt support url_fopen and curl..thats the problem..so php echo didnt work..

plz show a way guyz...i thing its nothing difficult for u ..

p/s:what do u think about javascript..?
omar391 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace string lor2008 JavaScript 2 October 22nd, 2008 02:25 AM
timestamp in string to int CloudedVision PHP 1 April 3rd, 2008 02:10 PM
Get value from SQL string ? VegaLA Classic ASP 5 January 30th, 2008 04:39 AM
string capacity Don Logan JavaScript 11 September 23rd, 2006 05:28 PM
append % to the string chandra.nowduri .NET 1 August 9th, 2006 06:47 AM


Search Engine Optimization by vBSEO 3.2.0 RC8