javascript Cookie help & debugging

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Glickman
    *Insert Witty Phrase*
    • Sep 2003
    • 2673

    #1

    javascript Cookie help & debugging

    Hey, some of you guys helped with ideas for managing a web database, and for now the school hasnt given me the database, so in the mean time, ive been using "baseportal"
    which allows you to make your own page and just controls the cgi part of it


    anyway, heres waht i want to do:
    Template

    i want the top 4 text boxes to use cookies that will stick when the data is submitted (it is lost , im guessing it refreshes)

    so ive been trying to use cookies (which i cant see if they work, because now for some reason my submit button wont work after i put in some java)


    heres what ive coded myself:


    <form action="/baseportal/OHSAthletics/main" method="post" enctype="multipart/form-data">
    <input type="hidden"name="cmd="value="add">
    <input type="hidden"name="htx=" value="/OHSAthletics/main">

    <b> Year: <input type="text" name="Year:=">
    Sport: <input type="text" name="Sport:=">
    Level: <input type="text" name="Level:=">
    Coach: <input type="text" name="Coach:=">
    <br><br><br></b>

    Last Name:                            First Name:                            &nbsp ; Address:      
    <br>
    <input type="text" name="Last Name:=">        &nbsp ;
    <input type="text" name="First Name:=">        &nbsp ;
    <input type="text" name="Address:=">        &nbsp ;
    <do action=input>
    </form>
    </body></html>
    <html>
    <head></head>
    <body>
    <do action=input>
    <noembed>
    </body></html> </noembed> (shhh, dont tell baseportal about this part )



    so anyway, and help would be appreciated, i need the top 4 text values to be submitted, but also stick (with a cookie or anything else, im limited due to the contrictions of baseportal) along with whatever is submitted below.


    this is for sport coaches to submit info on their players to the district guy, but im trying to not only make it on the interenet (it was on paper before) but im trying to make it easier on them (any bit helps, they arent totally tech-savy)
  • Glickman
    *Insert Witty Phrase*
    • Sep 2003
    • 2673

    #2
    stupid me, forgot the <input type="submit" value="send">

    submit button works, but the cookies dont

    Comment

    Working...