Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 7:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Variable in Internet address
PostPosted: November 17th, 2016, 5:51 pm 
Offline

Joined: November 9th, 2004, 5:05 pm
Posts: 27
Location: Germany
Hello
can someone give me a hint?
I have an Internet address http://tiaetsch.de/sksheineorg/Archiv/17.11.2016_varchiv.html
The date should be a variable that the user enters in a input.

Wie kann ich diese Variable in die Internetadresse einfügen?

Regards
tiaetsch

_________________
Many greetings
tiaetsch

OpusPro9, Win 8.1, Intel I7, 8GB RAM


For this message tiaetsch has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Variable in Internet address
PostPosted: November 17th, 2016, 9:25 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
You don't actually say what you want to do with it, so this just opens the concatenated URL in a blank tab:
Code:
myDate = "17.11.2016"
myURL = "http://tiaetsch.de/sksheineorg/Archiv/" + myDate + "_varchiv.html";
window.open(myURL,"_blank");


</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


For this message mackavi has been thanked by : tiaetsch


Top
 Profile Visit website  
 
 Post subject: Re: Variable in Internet address
PostPosted: November 18th, 2016, 2:56 pm 
Offline

Joined: November 9th, 2004, 5:05 pm
Posts: 27
Location: Germany
Thank you, exactly what I wanted!

Greetings
th

_________________
Many greetings
tiaetsch

OpusPro9, Win 8.1, Intel I7, 8GB RAM


For this message tiaetsch has been thanked by : mackavi


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 30 guests


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group