Solved

Check and compare textbox

Posted on 2014-07-24
7
134 Views
Last Modified: 2014-07-25
http://jsfiddle.net/sevensnake/MC6J9/

Here is some good logic for jquery guru.

I have 2 textboxes.
The hold textbox name attribute holds a value. the text box APT in its ID value holds a value.
when you type in the above text box it passes the name Attribute from APT to the text box.

What I like to happen if there is a existing value in APT that matches the same value value as hold in the textbox  then update the Lst text box,  if there is no value in the Hold text box the add name attribute to textbox.
0
Comment
Question by:sevensnake77
  • 4
  • 3
7 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40218485
I've read the question 3 times and it still makes no sense.
0
 
LVL 9

Author Comment

by:sevensnake77
ID: 40218541
LOL I am on the floor. Ok here is something easy.

I put the value in the alt tag if it exists it will put the value in the box

http://jsfiddle.net/sevensnake/MC6J9/45/
0
 
LVL 9

Author Comment

by:sevensnake77
ID: 40219659
I've requested that this question be deleted for the following reason:

question could not be answered
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 58

Expert Comment

by:Gary
ID: 40219403
People need to sleep.
Still makes no sense what the question is.
0
 
LVL 9

Author Comment

by:sevensnake77
ID: 40219434
ok look at this. makes more since
http://jsfiddle.net/sevensnake/M5XET/
0
 
LVL 58

Expert Comment

by:Gary
ID: 40219442
Not really, thats code I gave you in another question, what is supposed to be happening
0
 
LVL 9

Author Closing Comment

by:sevensnake77
ID: 40219660
cool
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question