1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

hELP On A enter button!!

Discussion in 'HTML & JavaScript' started by dumdum4gumgum, May 2, 2009.

  1. dumdum4gumgum

    dumdum4gumgum Power Member

    Joined:
    Oct 16, 2008
    Messages:
    590
    Likes Received:
    343
    Occupation:
    cet, networking,grool,c++
    Location:
    In my world
    Home Page:
    Hello guys i am doinng some iframeing work and took out the orginal submit button. You can fill out the info and hit enter and it will submit. is there a way to make a submit button that does the same function as the enter button? thanks in advance :p
     
  2. 00CivicEX

    00CivicEX Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 3, 2009
    Messages:
    293
    Likes Received:
    214
    Well it depends on how the button was working...if it was submitting data to something you can use this

    Code:
    <form method="post" action="scraperkey.php">
    <input type="submit" value="Submit" name="submit">
    </form>
    Know that you will need to know the page it was submitting the info too...like in the example it is submitting to page of mine called scraperkey.php
     
    Last edited: May 2, 2009
  3. dumdum4gumgum

    dumdum4gumgum Power Member

    Joined:
    Oct 16, 2008
    Messages:
    590
    Likes Received:
    343
    Occupation:
    cet, networking,grool,c++
    Location:
    In my world
    Home Page:
    i just need something that acts just like hitting the enter button on a keyboard but for html if that makes sense lol
     
  4. 00CivicEX

    00CivicEX Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 3, 2009
    Messages:
    293
    Likes Received:
    214
    well that is a submit button....guessing the form dont really work lol
     
  5. dumdum4gumgum

    dumdum4gumgum Power Member

    Joined:
    Oct 16, 2008
    Messages:
    590
    Likes Received:
    343
    Occupation:
    cet, networking,grool,c++
    Location:
    In my world
    Home Page:
    naaa heres a look at what im doing from a post from bhw
    Code:
    www.rapidshare.blog-mania.org/34.php
    i took the submit button out because it gave away the offer but can still hit enter to get it to go. Any ideas?
     
  6. wowhaxor

    wowhaxor Executive VIP Premium Member

    Joined:
    Apr 28, 2007
    Messages:
    2,021
    Likes Received:
    3,353
    Location:
    ?¿?
    Home Page:
    why not just use a field e-mail submit that has a white background a good submit button? Looks a lot smoother that way.
     
  7. 00CivicEX

    00CivicEX Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 3, 2009
    Messages:
    293
    Likes Received:
    214
    Like I said you can just use this it will make it look like there is a submit button there

    Code:
    [FONT=Courier New]<INPUT type="submit" name="mysubmit" value="Submit"> [/FONT]
    You can put it on the rapidshare.php, cant really tell ya anymore then that as i dont have the rapidshare.php code to see.