I am trying to create a login form using webapp.net but for some reason it
will not submit, I was wondering if any of you could help. The code for my
page is below, it appears that when I click to submit (login) nothing
happens at all. From the console in Safari though I see an apprent call to
the target page but the displayed page does not change at all. If I change
the onclick to an alert() it displays so I feel confident it is "firing".

So, can you see anything wrong with the code below?

The demo app seems to do the same for me, although my server does not
support PHP (it's a weblogic server, I will be using JSP) nothing appears to
happen when I submit the form, it of course works online which is causing me
to wonder if it could be a server related issue.

Thanks in advance for any help you can offer,

Chris.

 Code:

<html>
    <head>
        <title>My WebApp</title>

        <link rel="stylesheet" href="WebApp/Design/Render.css" />1
        <script type="text/javascript" src="WebApp/Action/Logic.js"></script>

    </head>

    <body>
    <div id="WebApp">

        <div id="iHeader">
        <span id="waHeadTitle">Header Text</span>
        </div>

        <div id="iGroup">

            <div class="iLayer" id="layer1" title="Lay Tit">
        <a href="http://www.msn.com"; rel="action" class="iButton
iBAction"  onclick="return WA.Submit('form2')" id="logme">Login</a>
        <form id="form2" action="xlogin.jsp">
        <div class="iPanel">
            <div id="form-res"></div>
            <fieldset>
                <legend>Login</legend>
                <ul>
                    <li><input type="text" name="user"
placeholder="Login" /></li>
                    <li><input style="-border:1px solid black;"
type="text" name="password" placeholder="Password" /></li>
                    <li><input type="checkbox" name="z" id="cbTest1"
class="iToggle" title="YES|NO" checked="checked" value="ok" /> <label
for="cbTest1">Keep login</label></li>
                    <li><input type="checkbox" id="cbTest2"
class="iToggle" title="YES|NO" /> <label>Keep password</label></li>
                </ul>
            </fieldset>
        </div>

        </form>
    </div>
</div>
    </div>

        <div id="iFooter">
            Footer
        </div>

    </div>
    </body>
</html>

 **

--~--~---------~--~----~------------~-------~--~----~
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