Current location: Hot Scripts Forums » General Web Coding » JavaScript » Submit form show gif.


Submit form show gif.

Reply
  #1 (permalink)  
Old 07-26-09, 11:03 AM
SniperTowers SniperTowers is offline
Wannabe Coder
 
Join Date: Dec 2008
Posts: 143
Thanks: 5
Thanked 0 Times in 0 Posts
Submit form show gif.

Code:
<head>
<script type="text/javascript">
function show_me(){
document.getElementById("hime").style.…
}
</script>
</head>
<input type="submit" id="Submit" value="Submit" onClick="javascript:show_me();">
<div id="hime"><img src="pathtopic.gif"></div>
Okay, I'm trying to build a form where when the submit button is clicked a gif shows underneath it,the problem I have us that the gif shows underneath the submit button anyway, What am I doing wrong?
Reply With Quote
  #2 (permalink)  
Old 07-26-09, 11:54 AM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
HTML Code:
<style type="text/css">
#hime
{
display:none;
}
</style>
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Space Above Form xavier039 CSS 1 07-13-09 10:52 PM
ajax checking and onsubmit issue follower JavaScript 4 10-12-08 03:45 PM
ASP - form to form submit (cookies?) deltatango5 ASP 2 09-29-08 06:17 AM
Submit form automatically - not the submit button INTEL JavaScript 12 12-07-05 06:09 AM
submit from form 1 to form 3 bypassing form 2 buzzby PHP 1 06-01-05 02:06 PM


All times are GMT -5. The time now is 01:53 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.