Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7496507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:38:48+00:00 2026-05-29T18:38:48+00:00

Here is my code: <!DOCTYPE html> <html> <head> <meta charset=utf-8> <meta name=viewport content=width=device-width, initial-scale=1>

  • 0

Here is my code:

<!DOCTYPE html>
<html>

    <head>

        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="gm.css" />
        <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile.structure-1.0.min.css"/>
        <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>

        <script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
        <script src="assets/custom.js"></script>
        <script type="text/javascript" src="assets/ejs_production.js"></script>
    </head>

    <body>
        <div data-role="page" data-add-back-btn="true" id="pageregister">
            <div data-role="header">

                <h1>Sign Up</h1>
            </div>
            <!-- /header -->
            <div data-role="content">

        <form action="someurl.html" method="post" id="registerform">

                <fieldset>
                    <div data-role="fieldcontain">
                        <label for="email">Email:</label>

                        <input type="text" name="email" id="email" value="" />
                    </div>
                    <div data-role="fieldcontain">
                        <label for="email2">Re-type email:</label>
                        <input type="text" name="email2" id="email2" value=""
                        />
                    </div>
                    <div data-role="fieldcontain">
                        <label for="password">Password:</label>

                        <input type="password" name="password" id="password"
                        value="" />
                    </div>
                    <div data-role="fieldcontain">
                        <label for="password2">Re-type password:</label>
                        <input type="password" name="password2" id="password2"
                        value="" />
                    </div>



                    <button type="submit"
                    data-theme="b" name="submit" value="submit-value">Sign Up</button>
                </fieldset>

        </form>



        <script>


        $('#pageregister').live('pageshow', function (event) {

                    var url = baseURL + "users/add.json";
            $("registerform").attr("action", url); //THIS HAS NO EFFECT?????
            alert(url); //I SEE THIS

                });


        </script>


            </div>
            <!-- /content -->
        <div data-role="footer" data-position="fixed">
    <div data-role="navbar">

        <ul>
            <li>
                <a href="game_search.html" data-icon="search">Search</a>
            </li>
            <li>

                <a href="info.html" data-icon="info">Info</a>
            </li>
        </ul>
    </div>
    <!-- /navbar -->
</div>
<!-- /footer -->
        </div>
        <!-- /page -->

    </body>

</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T18:38:50+00:00Added an answer on May 29, 2026 at 6:38 pm

    Your selector is wrong, you are missing # in id selector.

    Change this

    $("registerform").attr("action", url);
    

    to

    $("#registerform").attr("action", url);
    

    As a side note, always wrap your code inside DOM ready event which will ensure that DOM is available before trying to find the elements.

    $(function(){
       //Your code goes here
    
       $('#pageregister').live('pageshow', function (event) {
            var url = baseURL + "users/add.json";
            $("#registerform").attr("action", url);
       });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm seeing my Friend's code here... <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN> <HTML>
First off here is the code! <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>
I am using Google maps JavaScript API. Here is code : <!DOCTYPE html PUBLIC
here is the code......... <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd> <html xmlns=http://www.w3.org/1999/xhtml>
I can't get my dojo working. I've tried everything. Here is the code: <!DOCTYPE
Ok the error is showing up somewhere in this here code if($error==false) { $query
Here is code from MSDN . I don't understand why the work isn't just
Here a code to demonstrate an annoying problem: class A { public: A(): m_b(1),
enter code here I have a table on SQL server 2005 with bigint primary
The code here is X++. I know very little about it, though I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.