Welcome visitor
* Login
* Register
It is currently May 24th, 2019, 5:05 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Dynamic Link
PostPosted: May 10th, 2009, 2:29 am 

Posts: 61
H, can i take the value from an input field and use it to open a window? Tia


Top
 Profile  
 
  Re: Dynamic Link
PostPosted: May 10th, 2009, 2:46 am 
User avatar

Posts: 136
<input id="address" />
<input type="button" value="visit URL"
onClick="window.open('http://'+document.getElementById('address').value,'_self');" />


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron