aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Split Function for jQuery Results Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Split Function for jQuery Results" Watch "Split Function for jQuery Results" New topic
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
    
  13

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
    
  13

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
    
  13

I have no idea. I use it in Firefox. You shouldn't let an IDE constrict your environment.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Split Function for jQuery Results
 
Similar Threads
Unable to understand a code in a function?
jquery - code review
Passing JS Array to java using jquery
Drag and drop fail when called via ajax
How To Reference a Dynamic DOM Object From JS