| Author |
Split Function for jQuery Results
|
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
|
|
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
Joined: Jan 10, 2002
Posts: 56179
|
|
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?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
|
|
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
Joined: Jan 10, 2002
Posts: 56179
|
|
An alert isn't a valid debugging tool.
What's Firebug say?
|
 |
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
|
|
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
Joined: Jan 10, 2002
Posts: 56179
|
|
|
I have no idea. I use it in Firefox. You shouldn't let an IDE constrict your environment.
|
 |
 |
|
|
subject: Split Function for jQuery Results
|
|
|