Computing.Net > Forums > Web Development > IE 7 javascript prompt() to href

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

IE 7 javascript prompt() to href

Reply to Message Icon

Name: rbsterli
Date: February 29, 2008 at 18:32:17 Pacific
OS: XP
CPU/Ram: NA
Product: NA
Comment:

Hi folks, I am looking to prompt a user for input if they are using IE7 and then pass that input to an href.

I have downloaded the js file from http://www.hunlock.com/blogs/Workin... and it works great for the ALERT.

HOWEVER, I want to pass the variable returned from the input to an Internet url in my web page.

Example:

Sponsored Link
Ads by Google

Response Number 1
Name: Fist (by fmwap)
Date: February 29, 2008 at 19:10:13 Pacific
Reply:

Hmm, probably something like this in the callback function:
document.location='http://whatever.com/foo.php?value=' +val;


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: IE 7 javascript prompt() to href

JavaScript prompt() box postioning?
    Summary: anyone know how to position the prompt box rather than let the browswer do it? IE 5.5 seems to put it top left cf the alert box dead centre? ...
www.computing.net/answers/webdevel/javascript-prompt-box-postioning/1867.html

help! IE 7 CSS issue
    Summary: Long story here, but some crappy web company designed this site and now I am supposed to maintain it and the CSS menu isn't right in IE 7. Anyone have any ideas as to why it looks like this in IE7 ON...
www.computing.net/answers/webdevel/help-ie-7-css-issue/2947.html

IE PNG transparency ?
    Summary: nothing we can do with CSS, only with javascript http://homepage.ntlworld.com/bobosola/ but to get a picture that's transparent to stay transparent Transparent GIF works in IE, with its own limitation...
www.computing.net/answers/webdevel/ie-png-transparency-/2802.html