,0,0
,0,0
your way of writing must only be the default when you get it. The value of val will change
would you please express your opinion if you step on the answer?
< hr >the reason must be that you tampered with the unposted code
<!DOCTYPE html>
<html lang="zh">
<head>
<title>Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<select id="sutate" data-options="panelHeight:'auto',editable:false" name="sutate">
<option value="0">1</option>
<option value="1">2</option>
</select>
</body>
</html>
run result:
that's what it's called about select. That's all.
if you really don't know which code affects your code that should be normal, there is a good way to troubleshoot it, which is troublesome, but effective:
is to copy your normal code separately into a new html to see if there is a problem. If there is no problem, add other code from your original page to the new html step by step to know which code has affected it. Yours, however, is most likely to be the following:
1, there are several id=sutate elements
2, there is code dynamically changing the value of select
3, unexpected, for thousands of reasons
Previous: Incorrect path for Polymer 3.0 to get components
Next: How to carry request header data in axios interceptor?
in learning sharp jquery, I encountered a problem when I introduced the old version of jquery (version 1.71 in the book) and the latest version of jquery when the structure and content of html were the same. has a total of four check boxes, which work...
<div id= div1 > <div id= div2 > < div> < div> $( -sharpdiv1 ).on( click ,function(){ div2 })...
I write button in the a tag, so clicking button will automatically trigger the event bound by the outer a tag. Is there any way not to trigger it? <a href="-sharp" show-id="15"> <div class="online-top"> ...
js first gets the height of a picture, and then assigns a value to the height of a div. Why is it displayed after refreshing? how to solve it? ask for the elder s advice. Thank you! ...
before I destroy the instance in demo, the instance is reinitialized, which is ok: var handler = function () { alert(12111); } var handler1 = function () { alert(22222); } var player; play(handler); function play(handler) { videojs("ex...
, I want to convert to in yyyy-MM-dd HH:mm:ss format. ...
desired effect: for example: click on the man, pop up to expand the men s navigation bar on the right, and how to modify jquery to achieve this function this is the html section <header class="headroom"> <a id="cd-logo...
$( "body "). On ( "click ", "selector ", function () {}) this is the method that is called after the dynamically generated element is clicked. I now dynamically generate input and then immediately get this dynamically generated element without trigger...
I used jQuery-Seat-Charts v1.1.1 to make a reservation web page. I have made it possible that when a person clicks a branch map, the div will change and become the seat reservation map of the branch ordered by the user. The point now is that although my...
if($(".ing>img").hasClass("show")){ }else{ $(".ing>img").addClass("show"); } ...
now a page has two parts with invalid icons up and down, which means to encapsulate it. all define class as item-up,item-down. however, it is found that only the first top icon is invalid, and the second bottom icon is invalid. cannot invalidate each...
the number on this phone scrolls too fast, how can you slow down and slide a number? <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="wi...