The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Help with my javascript

Go down

Help with my javascript Empty Help with my javascript

Post by Almaftuchin December 15th 2016, 8:02 pm

Code:
<form method="post" name="my_form">
<input value="" name="URL" placeholder="Long URL"/>
<button onclick="myFunction()">Get</button>
</form>
<script>
function myFunction() {
    var myWindow = window.open("http://ouo.io/api/aX285oEC?s=+'URL'+", "", "width=400,height=400");
}
</script>


when i input the url then i click Get button, but why the url not include in the popup windows?
screenshot:
Help with my javascript Untitl10

i want to the url include in popup when i click Get button, plz help  Crying or Very sad
Almaftuchin
Almaftuchin
New Member

Male Posts : 6
Reputation : 2
Language : English
Location : Indonesia

http://www.almaftuch.in

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum