Home  >  Article  >  Web Front-end  >  100 points are asked for a feature, 80 points are given to the best user, and 20 points are divided equally! _html/css_WEB-ITnose

100 points are asked for a feature, 80 points are given to the best user, and 20 points are divided equally! _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:26:001107browse

There is "input type="text" in the front, followed by the secondary linkage slt, subslt. After selecting subslt, pass the value into input


Reply to the discussion (solution)

You just can’t pass value

After selecting subslt

After you select it, can’t you just add a click event?

After clicking, pass the value

Have you done the secondary linkage? Then quote jquery.min.js

<input class="a" type="text"><select name="subslt" onChange="$('.a')val(this.value)">  <option value="1">a</option>  <option value="2">b</option>  <option value="3">c</option>  <option value="4">d</option></select>

$('.a'). val(this.value) Sorry for the lack of it

I have done this, I made it with JS. If you need it, I can find it for you

I have done this, I did it. It's made with JS. If you need it, I'll look for it for you

Well, yes, thank you. What I want is to create a secondary city linkage and transfer it directly after selecting the prefecture-level city! > $('.a').val(this.value) Sorry for the little bit

Well, it’s good, I understand! But it’s not easy to beautify it

http://my .csdn.net/DUMPER

$('.a').val(this.value) Sorry for the little bit


Well, it’s good, I understand! But beautification! Not easy to beautify

The select style is difficult to change

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn