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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:54:43+00:00 2026-06-10T02:54:43+00:00

At http://docs.jquery.com/UI/Tabs#demo i found below description about create event on tab wizard. To me

  • 0

At http://docs.jquery.com/UI/Tabs#demo i found below description about create event on tab wizard. To me look like both ways attach the callback function with create event. But i am sure there must be some difference in their usage. Is it first approach should be used at the time of creation tab and second one is applicable once tabs has been constructed?

//Approach 1

Supply a callback function to handle the create event as an init option.
$( ".selector" ).tabs({
   create: function(event, ui) { ... }
});

//Approach 2

Bind to the create event by type: tabscreate.
$( ".selector" ).bind( "tabscreate", function(event, ui) {
  ...
});
  • 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-10T02:54:44+00:00Added an answer on June 10, 2026 at 2:54 am

    No, they’re equivalent. They both enable you to run code when a tabs instance is created. I would say the first method is a little more common than the second. Although someone on the jQuery UI team needs to update the reference to the deprecated .bind() function.

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

Sidebar

Related Questions

Im using jQuery's validation which can be found here: http://docs.jquery.com/Plugins/Validation/rules#.22add.22rules I currently have some
I'm trying to use jquery tabs, i got the code from the site: http://docs.jquery.com/UI/Tabs
I'm using jquery tabs ( http://docs.jquery.com/UI/API/1.7.2/Tabs ). Jquery version 1.3.2 and Jquery UI version
Using the jQuery plugin found here: http://docs.jquery.com/Plugins/Validation I have a form, that when certain
I'm using this jQuery Tooltip plugin: http://docs.jquery.com/Plugins/Tooltip I create tooltips for all links when
i read docs http://docs.jquery.com/Plugins/Treeview/treeview#options also googled, but nothing found easy and good solution, how
I've started looking at jQuery's built-in tabs functionality here: http://docs.jquery.com/UI/Tabs Is there any way
I'd like to create the highlight/fade effect as demonstrated at: http://docs.jquery.com/UI/Effects/Highlight However, I'm trying
At http://docs.jquery.com/UI/Tabs#Example there is a short HTML example of how to use JQuery UI
I was looking at http://docs.jquery.com/Plugins/Authoring#Defaults_and_Options to create a simple plugin for jQuery. Following the

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.