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 8044379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:12:44+00:00 2026-06-05T05:12:44+00:00

When creating a form in jQuery mobile, it seems like the default form functionality

  • 0

When creating a form in jQuery mobile, it seems like the default form functionality is to specify the page load animation from the <form> tag rather than the submit button. I am trying to build a form with two submit buttons that are each supposed to perform a different animation (it sounds weird, but it makes sense in the context of the app. but that’s not the point of the question 🙂 )

Is there a way that I can get around the default specification in the <form> tag and specify the animation in the <input> tag for each submit button instead? So here’s what I’m going for:

//this is where I have to specify the animation now, but I only want one button
//to trigger a "pop" animation
<form action='blah.php' data-transition='pop'>
    //form elements and whatnot

    //I'd like this button to have one animation by specifying it here:
    <input type='submit' value='submit button 1' data-transition='slide'>

    //And this button to have a different animation by specifying it here:
    <input type='submit' value='submit button 2' data-transition='pop'>

Right now, the transitions specified in the <input> tags are ignored whether or not I specify a transition in the <form>

Does anyone know how I can get this to work?

  • 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-06-05T05:12:45+00:00Added an answer on June 5, 2026 at 5:12 am

    May be i would be wrong, I think Submit button do not support transitions, but anchor tag does.. Try this by using anchor tag…

    For Example,

    <form action="blah.php" method="get">
    <a id="direct1" data-transition="slide">submit button 2</a>
    <a id="direct2" data-transition="pop">submit button 2</a>
    </form>
    

    If this code does run then try add data-ajax="false" on anchors….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a form in jQuery. When the page loads I'm hiding all
I'm creating multiple form retrieving data from jquery. after that i want to work
I am creating one application with jquery.mobile-1.0a4.1 release. I have a page which is
I'm creating a basic form with ajax submit using jquery framework. This is my
I am interested in creating an AJAX form submit in a jQuery overlay. I
I have a jQuery Model windows which contains a form. On creating of the
I am creating a form dynamically from the fields returned from server using json
I'm creating a form using Django, JQuery and JQuery Form plugin (http://jquery.malsup.com/form/) and I
I'm creating a small jQuery plugin for my CMS that styles certain form input
I'm creating a form with dynamically added fields and would like to sum all

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.