Suljettu

Javascript onchange event listener changes text input field value for Wordpress

I have some custom drop-down menu's on a Wordpress powered site. When a user is adding a new post they will add 3 details to the post using the drop down menu's. For example one select box might look like this:

<select id="car-make">

<option value="Volvo">Volvo</option>

<option value="Ford">Ford</option>

<option value="Toyota">Toyota</option>

</select>

After the user chooses from the drop-down I want it to automatically add the value to the blog posts 'tags'. I can't modify the code that outputs the select box's else I might add <select id="car-make" onchange="update_tags();"> so it would need to be a function inside the <head> tag that listens to the specific <select> ID's and then changes the value of the <input> ID when the event happens.

Taidot: Javascript

Näytä lisää: javascript onchange, javascript input onchange, javascript listener onchange, javascript onchange listener, javascript select onchange, javascript eventlistener, javascript listener, input onchange event, javascript input text changed, javascript onchange event, javascript event listener onchange, input onchange javascript listener, javascript onchange input text, input onchange, eventlistener javascript, javascript onchange text, javascript onchange input, javascript input text onchange, javascript event listener, javascript onchange input field, onchange javascript select, onchange event listener, javascript input field, javascripts onchange, input text onchange

Tietoa työnantajasta:
( 0 arvostelua ) McAllen, United States

Projektin tunnus: #408765

10 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

khanhhuyna

Ready to work! Thanks!

$40 USD 1 päivässä
(52 arvostelua)
5.8
phpexpertbd

Please Check Me.

$30 USD 1 päivässä
(15 arvostelua)
5.2
code4ever

Let's start now

$30 USD 0 päivässä
(9 arvostelua)
5.0
smdbangladesh

Please check PM

$50 USD 1 päivässä
(4 arvostelua)
4.7
KMZ

Hi, please check the PM for more details

$30 USD 0 päivässä
(20 arvostelua)
4.6
snowwolf

sure i can help [login to view URL] your pm

$40 USD 1 päivässä
(9 arvostelua)
4.5
chama

Hi. I can do this job with an external javascript file you will include in the head section.

$40 USD 1 päivässä
(9 arvostelua)
4.3
nadeemlala

hi, i am specialist developer and i can get it done. Cheers, Nade A.

$30 USD 0 päivässä
(0 arvostelua)
0.0
dipsolution

I am expert in javascript it takes not more than 2 hours Thank You Dipsolution

$50 USD 1 päivässä
(0 arvostelua)
3.4
creativecoder20

ready to [login to view URL] PMB.

$50 USD 3 päivässä
(0 arvostelua)
0.0