Solved

Check and compare textbox

Posted on 2014-07-24
7
139 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Suggested Solutions

I have answered several questions lately that were solved utilizing the power of jQuery's AJAX functions, so I thought I would write an article demonstrating the ease of use. Why should I use jQuery as opposed to regular JavaScript? Now I know…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

710 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