How to locate / show how I show a dynamically generated text box based on a paneldown menu selection I am trying to make my JS skills are very limited based on the number of people I have made in the following loop:
The ID of $ pid variable is required to be sorted and I
The HTML output looks like this:
name = "location [287] "Id =" location [287] "& gt; Option value =" 1 "selected & gt; a & lt; / option & gt; option value =" other "& gt; other & lt; / Option & gt; & lt; option value = "other" & Gt; -------- & lt; / option & gt; & lt; option value = "12" & gt; B & lt; / option & gt; & lt; option value = "12" & gt; ; C & lt; / option & gt; & lt; / select & gt; & lt; input name = "location_other" [287] "type =" text "id =" location_other [287] "style =" display: none "/> Try $ (Window). Load ($ ('(location)') ($ ('$ location'). Change (function () {$ ('input [id = = location_other]'). Hide (); if ($ (this) .val () == "other") {$ ('# location_other'). Show ( );} And {$ ('# location_other' + $ (this) .val ()). Hide ();}});});
Posted by
Unknown
at
03:22
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Unknown
View my complete profile
Blog Archive
►
2015
(1886)
►
September
(203)
►
August
(208)
►
July
(224)
►
June
(210)
►
May
(230)
►
April
(195)
►
March
(209)
►
February
(201)
►
January
(206)
►
2014
(2117)
►
September
(239)
►
August
(251)
►
July
(226)
►
June
(208)
►
May
(229)
►
April
(199)
►
March
(255)
►
February
(275)
►
January
(235)
►
2013
(2011)
►
September
(199)
►
August
(228)
►
July
(210)
►
June
(222)
►
May
(217)
►
April
(229)
►
March
(243)
►
February
(221)
►
January
(242)
►
2012
(1993)
►
September
(227)
►
August
(235)
►
July
(225)
►
June
(206)
►
May
(221)
►
April
(216)
►
March
(206)
►
February
(227)
►
January
(230)
►
2011
(1964)
►
September
(220)
►
August
(222)
►
July
(219)
►
June
(224)
►
May
(219)
►
April
(206)
►
March
(216)
►
February
(221)
►
January
(217)
▼
2010
(1952)
►
September
(230)
►
August
(202)
►
July
(221)
►
June
(207)
►
May
(213)
▼
April
(199)
xml serialization - Can we create a java object fr...
Proper explanation of JavaScript execution order -
visual studio 2012 - Why does select source for a ...
stringtemplate 4 - Is it possible to combine group...
How to check if a folder exists in google drive? (...
sql - Read in only certain column names from TSV f...
button - Fitting signals to slots in Qt -
c# - Decompiled assembly - unusual code -
MYSQL PHP Warning: mysql_query() expects parameter...
ssl certificate - How to use multiple SSL Keys whe...
php - alert only file names selected from file inp...
plsql - Oracle PL/SQL Trigger Error -
rabbitmq - How to ACK celery tasks with parallel c...
Are there downsides to using var more than once on...
Starting debugging only from a certain point in ti...
regex - Find text string or part of text with dot ...
c# - XElement.CreateNavigator vs XDocument.CreateN...
ajax - Jquery AjaxSubmit + json datatype stripped ...
php - Show/hide dynamic textbox based on pulldown -
Eclipse Color Theme: "Color Theme" not showing up -
python - 'int' object is not subscriptable -
swing - Class Structure and Location for MVC in Ja...
html - Why aren't my class id tags working? -
matlab - Create vector of results from For loop wi...
android - How to implement search widget with a li...
ios - Literal syntax for Arrays in Obj-c -
eclipse rcp - RCP P2 Update for base productin -
How do I export a MS Access report to PDF with a f...
php - Insert into 2 tables from 1 form -
latitude/longitude info in a GML Bounding box -
javascript - How to stop redirect to API call resu...
Display summation of columns in the footer of jqxg...
jsp tags - Database gets updated with first entry ...
Google Appengine Java - Get EXIF data from Image -
css - Position of Tooltip Bootstrap on Link with I...
android - notifyDataSetChanged with SQLite -
php - Getting delimiter from a line -
asp.net - Check for empty value in C# - Webmatrix -
c# - Alternative to using a ternary operator in La...
javascript - jQuery: selectors not working over aj...
command line - Cmd cant find Hadoop after Pig Inst...
javascript - Graphics beginBitmapFill easeljs -
python - Query website(that requires login informa...
c++ - What is the difference between "Linux Kernel...
preloading - Loading script before all images have...
routes - Rails routing multiple controller -
c++ - Creating a mutex class using Allegro mutexes -
c# - How do you compile the precompiled in ASP.NET -
java - Why do I have to initialize "j"? -
json - Can I serialize an interface(_recordset) wi...
google app engine - Python decrypt leaves unwanted...
perl - Interpolate in YAML -
php - Differentiate page opening depending on the ...
.net - Avoiding concurrency issues with DbContext ...
jquery - Having trouble adding a textfield every t...
jquery - Prevent IE showing two DIVS during half a...
ios - How to blur image using CALayer -
c# - Excel VSTO persist data entered into a WinForm -
datanitro - Writing a 2-D array to Excel -
php - replace text inside some text with other -
java - Making JFrame fullscreen in Ubuntu/Unity -
android - BlueStacks emulator for Linux? -
javascript - web speech api speech synthesis - get...
javascript - Parse with Meteor JS -
authentication - Rails nil value when saving to da...
javascript - jquery blur not working on "exiting" ...
linux - How run different versions of node.js in s...
windows authentication - Dot Net Client and IIS ho...
perl get the path of a module inside the module? -
VBScript alternative to PHP's preg_match -
html - Hiding/Showing extra content using Javascri...
java - Have maven add dependency to target jar/lib -
javascript - jQueryMobile - Why is a new dynamical...
javascript - Loop through background colors (for l...
how to solve this error in oracle and in mysql -
jquery - Set value with dynamic attributes -
oracle associative array of associative array of r...
Is the TypeScript type spec for && and || correct? -
jquery - HTML + Add input field inside a dropdown ...
html5 - HTML audio in iframe (IPAD safari) not wor...
c# - Display window over full screen application -
jquery - My Jqgrid pager shows 1 of 0, if there is...
vb.net - Not able read the next record using datar...
sql - Math operations inside where claue of rails -
php - Restructured database, using SQL in phpmyadm...
c++ - Embed different functions in a function: fun...
jquery mobile - Canvas not defined -
android - Google Volley - when to use Cache.remove...
ruby - Rails runner throwing "undefined local vari...
c# - Find value from the dataview using column name -
Javascript- Iterate over nested objects, getting v...
Restrict Excel Add-in Distribution -
java - Enumeration List with IN operator in JPQL -
Intercepting push notification android c2dm from a...
dhtml - how to make use of the jquery call back me...
GWT SSL connection -
database - Saving orders in session magento -
How to generate Excel with macros programmatically -
How can I plot a biplot for LDA in r? -
php - confusion in custom attributes and Manage at...
►
March
(234)
►
February
(244)
►
January
(202)
Powered by Blogger.