It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Next-gen

Keyboard shortcuts have arrived for next-gen projects!

...ollected feedback from users around the lack of shortcuts, and we’re here to address that: In next-gen projects, I miss the keyboard shortcuts badly. This is particularly true on the Board, but also i...

222 views 2 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you