the page jumps back to the top

i have a div which i m flipping using css and jquery. Both the sides are having a submit button. The back side's submit buttn is whenever clicked the front div jumps infront without getting flipped. I hope u understand my prblm. I dont want that front div to get suddenly jump infront of the page. What to do?

4 answers

0 votes
Sean Curtis Atlassian Team Jul 21, 2013

Did you use the JS I posted in your other question Anurag?

yes i used your code only
yes i used your code only
0 votes
Sean Curtis Atlassian Team Jul 21, 2013

Well things are getting more complex now. Rather than me code all this up for you, I'd recommend you step through some of the jQuery tutorials. You will need to use stopPropagation() on the click of the button. This will prevent the click event from bubbling up the DOM and triggering the flip you added to the div.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

48 views 2 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you