1823 comments found

  • Bought between 50 and 99 items
  • Has been a member for 3-4 years
promosync Purchased
https://dl.dropboxusercontent.com/u/14985576/Query.png

Note: 1. We want to have red color for the inactive (checkbox= false) switch 2. This will not be a global behavior, only applicable to a subset of switches in the implementation/form.

  • Bought between 50 and 99 items
  • Has been a member for 3-4 years
promosync Purchased

Also how can I fix the Previous and Next buttons at the bottom of the data table. They are off a bit.

https://dl.dropboxusercontent.com/u/14985576/2014-07-22%2013.05.27.png
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
shromk Purchased

Hi,

In my current application I perform an autoSave when the tabs are changed, and am trying to prevent the new tab from showing if there is a save error. Here is the code snippet: (trying to use the e.preventDefault but to no avail)

                $('.tabs-content > div').on('showtab', function (e) {
                    // Called everytime a tab is shown (includes first tab shown at page load)
                    if (autoSaveSuccess) {
                        currentTab = $(this).attr('id');
                        fnLoadTabData();
                    }
                    else {
                        e.preventDefault();
                    }
                });

Thanks again for a great template, and for the assist!

Default-user
shromk Purchased

OK, quick update on this; it looks as though the e.preventDefault is preventing the function from running, but the newly clicked tab is still showing. The intended result is for the previous tab to stay showing…thanks :)

by
by
by
by
by
by