Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sskarth

  1. sskarth

    Update array in one function by another function.

    Thank you so much for all your help :) Your valuable inputs helped me solved it at last. Faced issue with declaring the array as global. The function wasn't recognizing the global array. I was thinking there was something wrong but eventually cleared the cache and it worked. I have no idea why...
  2. sskarth

    Update array in one function by another function.

    Above post continued... So in the next iteration, the array a[] will have new values rather that the one that was defined at the start. Hope its clear now. Thanks, -SK
  3. sskarth

    Update array in one function by another function.

    Thank you for your reply. The thing is push adds elements to the end. What I actually want to do is, if the the value fetched in fn xxxx( ) is, say value=3, then I need to update Array a[3] to 1 if its 0, or a[3] to 0 if its 1. And the next time if value=7, then I need to update a[7] = 1 if its...
  4. sskarth

    Update array in one function by another function.

    Hi, I have small problem and I am stuck with it for days without any solution. So I have a function that has an array, function arrjoin( ) { var a = new Array (1,1,1,1,1,1,0,0,0,0); var c = a.join("~"); return (c); } I have another function that call the arrjoin(). But before doing so, I...
  5. sskarth

    sorting table generated by ajax

    Hi, I am using a javascript called sorttable.js available at http://kryogenix.org/code/browser/sorttable/ for sorting a table. The issue is the table is generate via an AJAX script. When I generate the table via ajax script, the sort feature seems to be not present. I found some comment...

Part and Inventory Search

Back
Top