Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old November 22nd, 2005, 08:53 PM
bakertrg's Avatar
bakertrg bakertrg is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Scottsdale AZ, US
Posts: 2,253 bakertrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 48 m 45 sec
Reputation Power: 4
Send a message via Yahoo to bakertrg
javascript focus question

I've been trying to get a little javascript function going for matt to add to the forums that would allow tags to be automaticly populated in the form.

the link to that thread is here:
http://codewalkers.com/forum/index.php?action=displaythread&forum=sitesupport&id=423&realm=default

but the problem is simply why the focus() will set to the end of the text field if I have already been typing and add a tag but not if I add a tag as my first action.

you can see a test of this here:
www.azwc.com/cw/javascripttest3.html

My method to solve the focus on end of text was to count the length of the field and place that variable in the focus(cnt) parameters area though I was unable to find a reference online that showed me if this was a valid parameter of that method, it does seem to work.

Reply With Quote
  #2  
Old November 22nd, 2005, 09:02 PM
bakertrg's Avatar
bakertrg bakertrg is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Scottsdale AZ, US
Posts: 2,253 bakertrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 48 m 45 sec
Reputation Power: 4
Send a message via Yahoo to bakertrg
RE: javascript focus question

actually the count doesn't seem to have anything to do with it as far as I can tell.

Reply With Quote
  #3  
Old November 22nd, 2005, 09:08 PM
bakertrg's Avatar
bakertrg bakertrg is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Scottsdale AZ, US
Posts: 2,253 bakertrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 48 m 45 sec
Reputation Power: 4
Send a message via Yahoo to bakertrg
RE: javascript focus question

nevermind I got it:

www.azwc.com/cw/javascripttest2.html

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > javascript focus question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT