Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Input field / refresh issue
Old 04-13-2010, 05:03 AM Input field / refresh issue
Junior Talker

Posts: 1
Trades: 0
Hi there,

I have a website where I have an input field where the title is a variable depending on the language the visitor has chosen. When I change the language I have to F5 to get the title refreshed while the rest of the site does change. This is the code:
--
Code:
<td class=""tdinput"">&nbsp;
<input name=""zoekinput"" onfocus=""javascript:this.select();"" type=""text"" value=""" & vZoekennaar & """></td>
<td>&nbsp;<A href=""#"" onclick=""javascript:document.form1.submit();""><img border=""0px"" src=""http://www.webmaster-talk.com/images/but_zoek.gif"" title=""" & vZoek & """></A></td>
--
How can I somehow get it refreshed?

Thanks.
__________________
Marcel

Last edited by chrishirst; 04-13-2010 at 10:16 AM..
mbr99 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-13-2010, 10:19 AM Re: Input field / refresh issue
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,336
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
just submit the form then redisplay the page.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-14-2010, 04:09 AM Re: Input field / refresh issue
Average Talker

Posts: 15
Trades: 0
It's hard to tell ... are you trying to trigger the event on text changed? Or when you click on the image ?
__________________

Please login or register to view this content. Registration is FREE
AskTechGuy is offline
Reply With Quote
View Public Profile
 
Old 05-19-2010, 03:01 PM Re: Input field / refresh issue
kline11's Avatar
SearchBliss Web Tools

Posts: 1,782
Name: John
Location: USA
Trades: 0
Quote:
Originally Posted by mbr99 View Post
Hi there,

I have a website where I have an input field where the title is a variable depending on the language the visitor has chosen. When I change the language I have to F5 to get the title refreshed while the rest of the site does change. This is the code:
--
Code:
<td class=""tdinput"">&nbsp;
<input name=""zoekinput"" onfocus=""javascript:this.select();"" type=""text"" value=""" & vZoekennaar & """></td>
<td>&nbsp;<A href=""#"" onclick=""javascript:document.form1.submit();""><img border=""0px"" src=""http://www.webmaster-talk.com/images/but_zoek.gif"" title=""" & vZoek & """></A></td>
--
How can I somehow get it refreshed?

Thanks.
I'm not exacly sure what you want. Maybe changing the onClick event to onChange will do what you want.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
kline11 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Input field / refresh issue
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30162 seconds with 12 queries