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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:13:24+00:00 2026-05-31T08:13:24+00:00

i am using dojo toolkit with php codeigniter 2.1.0 and i want to put

  • 0

i am using dojo toolkit with php codeigniter 2.1.0 and i want to put space in tab name wherever necessary.

Anyone has any solution??

My code is :

<div id="setupParty" data-dojo-type="dijit.MenuItem"
            onclick="addPartyTab('AddParty');">Manage <u>P</u>arty</div

If i will directly write as :

 <div id="setupParty" data-dojo-type="dijit.MenuItem"
            onclick="addPartyTab('Add Party');">Manage <u>P</u>arty</div

then it throws error

I want my tab to be displayed with name as “Add Party”

can anyone suggest me solution for this???

Thanx in advance

  • 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-05-31T08:13:26+00:00Added an answer on May 31, 2026 at 8:13 am

    What error does it throw?
    how does the code in addPartyTab look like?

    The following should work in any case:

    onclick="addPartyTab('Add&nbsp;Party');">
    

    However, this may not be an ideal solution. You need to look into your addPartyTab function to first, ensure the text with embedded space is coming through fine (and i dont see any reason why it shouldnt) and then examine the code in that function to ensure it is being processed correctly – i suspect somewhere in there you will find why it is breaking.

    In general, you can set title on a dijit tab (which is typically a contentpane) directly even if the title contains spaces without any issue. Following is a typical way of doing it:

    dijit.byId("myTabContentPane").set("title", "Add Party - Hurray!");
    

    where myTabContentPane is the id of the contentpane that makes up that tab

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

Sidebar

Related Questions

I am using Dojo Toolkit and I want form elements to serialize into array,
I am using dojo and I want to get a node that has a
I am developing a web application using Spring JS and Dojo Toolkit. In this
Using Dojo 1.7, my ValidationTextBox or NumberTextBox widgets don't hold focus. <input name=mm id=mm
I am using dojo and ajax to send a time stamp to PHP, which
Using dojo.dnd, I want to allow a user to drag only one item at
I want to consume a Restful webservice using dojo . the result of the
How to get a DOM using dojo by the tag name? I have a
I am attempting to put together a fairly complex form using dojo and dijit
I recently built a project using the Dojo toolkit and loved how you can

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.