Hey group,

im trying to simple submit some form data per post to a javascript
function, but it doesnt work for me.

My form looks like:

    <form id="add_server" name="add_server" title="TestForm"
class="dialog" action="" onSubmit="addServer();" method="POST">
        <fieldset>
            <a class="button leftButton" type="cancel">Cancel</a>
                <label>Data1</label>
                <input id="text" type="text" name="data1" />
                <label>Data2</label>
                <input type="text" name="data2"/>
                <label>Data3</label>
                <input type="text" name="data3" />
                                <a class="whiteButton" type="submit" 
href="#home">Submit me</a>
                </div>
        </fieldset>
    </form>

addServer is a JavaScript function located in a separated file (file
is included).

If i press Submit nothing happened, can you point me in some
direction?
I also don't find anything at Google.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to