• Post Reply Bookmark Topic Watch Topic
  • New Topic

Split Function for jQuery Results  RSS feed

 
Steve Dyke
Ranch Hand
Posts: 1760
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The value of qtyofsplits is 1,3 yet the following function returns only one element after the split is done. What am I doing wrong?

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66151
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve Dyke wrote:The value of qtyofsplits is 1,3

Have you actually checked the value of $('#qtyofsplits').text() to ensure that this is so?
 
Steve Dyke
Ranch Hand
Posts: 1760
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:
Steve Dyke wrote:The value of qtyofsplits is 1,3

Have you actually checked the value of $('#qtyofsplits').text() to ensure that this is so?


I just did and alert($('#qtyofsplits').text()) returns nothing.
However alert($('#qtyofsplits')) returns 1,3.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66151
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An alert isn't a valid debugging tool.

What's Firebug say?
 
Steve Dyke
Ranch Hand
Posts: 1760
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:An alert isn't a valid debugging tool.

What's Firebug say?


How can I use Firebug within my Websphere Development Environment(WDSC)?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66151
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have no idea. I use it in Firefox. You shouldn't let an IDE constrict your environment.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!