The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Help with my javascript

View previous topic View next topic Go down

Help with my javascript

Post by Almaftuchin on 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:


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

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

http://www.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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