| |

VerySource

 Forgot password?
 Register
Search
Author: lymfantasy

The drop-down menu pops up a new page question, experts please come in.

[Copy link]

1

Threads

7

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

 Author| Post time: 2020-10-21 19:00:01
| Show all posts
悲雪狂沙
////////////////////////////////
This is ok, but there is still a problem: when elected <option value=1>View details</option> or <option value=2>modify information</option>, it also pops up <option value=3>Add drawing</option >, please elder brother give pointers.
Reply

Use magic Report

0

Threads

6

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-10-21 19:15:01
| Show all posts
Haha,悲雪狂沙's answer is already out, but his if(this.value=3) is changed to if(this.value==3). You should be able to distinguish it yourself
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 United States

Post time: 2020-10-21 19:30:01
| Show all posts
Not bad
Reply

Use magic Report

0

Threads

16

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-10-21 19:45:01
| Show all posts
Haha, typos! ! !
if(this.value=3) is changed to if(this.value==3)
Reply

Use magic Report

0

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-10-21 20:00:01
| Show all posts
I'm dizzy, let me show you some code
Reply

Use magic Report

0

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-10-21 20:15:01
| Show all posts
<select name="select" onChange="butt();">
                <option selected>--Please select--</option>
                <option value="rank by market value">rank by market value</option>
                <option value="rank by total amount">rank by total amount</option>
              </select>



<script language="javascript">
function butt()
{
     form1.submit();
}
</script>


Don't say you don't understand
Reply

Use magic Report

1

Threads

7

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

 Author| Post time: 2020-10-21 20:30:01
| Show all posts
Thank you brothers for your help.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list