| |

VerySource

 Forgot password?
 Register
Search
View: 20|Reply: 2

If such an effect is achieved?

[Copy link]

5

Threads

6

Posts

7

Credits

Newbie

Rank: 1

Credits
7

 China

Post time: 2020-3-18 01:00:01
| Show all posts |Read mode
Just like uploading attachments at 126 mailboxes
Click Add to open a new file upload window
How does this effect work?
Thank you
Reply

Use magic Report

0

Threads

3

Posts

4

Credits

Newbie

Rank: 1

Credits
4

 China

Post time: 2020-6-22 08:30:01
| Show all posts
Are these two functions called?
var newInput = document.createElement("INPUT");
document.body.appendChild(newInput);


<HTML>
<HEAD>
<SCRIPT>
function createRadioButton(){
// Create radio button object with value="First Choice" and then insert
// this element into the document hierarchy.
var newRadioButton = document.createElement("<INPUT TYPE='RADIO' NAME='RADIOTEST' VALUE='First Choice'>")
document.body.insertBefore(newRadioButton);
// Create radio button object with value="Second Choice" and then insert
// this element into the document hierarchy.
newRadioButton = document.createElement("<INPUT TYPE='RADIO' NAME='RADIOTEST' VALUE='Second Choice'>")
document.body.insertBefore(newRadioButton);
}
</SCRIPT>
</HEAD>
<BODY>
<INPUT TYPE="BUTTON" ONCLICK="createRadioButton()" VALUE="Create two Radio Buttons"><BR>
<INPUT TYPE="BUTTON" ONCLICK="alert (document.body.outerHTML )" VALUE="Click here to see HTML">
<BODY>
</HTML>
Reply

Use magic Report

0

Threads

13

Posts

12

Credits

Newbie

Rank: 1

Credits
12

 China

Post time: 2020-6-22 23:00:01
| Show all posts
Only javascript can fulfill your requirements, PHP can't achieve it...

It’s not impossible, it’s too much trouble, and you have to refresh the page

The method upstairs is correct, the landlord can experiment ~
Reply

Use magic Report

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

Points Rules

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

Quick Reply To Top Return to the list