[jQuery] sorting columns using jquery. noob with html and java. built custom php using snmp

2009-12-28 Thread ace123
I'm not sure if this is possible...but I love the jquery tablesorter- but I can't figure out how to get it working. My page displays as if it's not even there. I used php to snmpget some data from my network switches and routers. It saves it to my DB...then I have this page to display the informati

[jQuery] JQuery "hanging" for unknown reason

2009-12-28 Thread Alex
Hi Everyone, I have built a simple jQuery application (a web based chat app). This works well in Firefox, Chrome, Safari etc... However, in what appears all versions of IE on "some" pageloads (normally the second or third, but this seems random) once the page is loaded all of the (non- javascript

[jQuery] Re: In a row trasversing, finding, counting...

2009-12-28 Thread Šime Vidas
closest("tr") is better than parents("tr:first")

[jQuery] Re: Draggable/Droppable - revert:'invalid' working on Firefox, not on Safari

2009-12-28 Thread John Arrowwood
I made a simplified page to demonstrate this behavior. Unfortunately, that page doesn't exhibit the behavior. *sigh*. I'll keep investigating. In the mean time, if anyone has ever seen this kind of behavior and knows why it happened to them, their feedback would be appreciated. On Sun, Dec 27,

[jQuery] Cycle Plugin and IE6

2009-12-28 Thread Joseph
Hi, We've been doing a slideshow for the featured content/ads on one of our sites and I'm having problems getting the plugin to work with IE6, I think maybe it's a CSS problem or something, but haven't nailed it yet. Anyone that could give me advice or anything? This is the URL of the slide: http

[jQuery] Re: Why does this work??

2009-12-28 Thread Scott Sauyet
On Dec 27, 10:07 am, merchz wrote: > When I click that Cancel button, the alert executes just like I want it to > do. But I can't figure out why?? I mean how can the eventhandler register > correctly. Is the Cancel button from the AJAX call somehow magically insert > into the DOM before the script

Re: [jQuery] jQuery in Action = $15 off today (12/28)

2009-12-28 Thread Jan Wilson
Rick Faircloth wrote: I'm not sure what you mean, Jan... We can order the *new* second edition now, which is not available yet, and get chapters in PDF as they're completed...is that part correct? The part I don't understand is "then the brand-new one in late March or April." By the "brand-new

[jQuery] Re: jQuery suggestion

2009-12-28 Thread Scott Sauyet
On Dec 28, 2:55 pm, Thai Dang Vu wrote: > I'm using IntelliJ Idea 9.0 which supports code completion/suggestion for > javascript. It doesn't work with the innerHeight/Width because of this > >         jQuery.fn["inner" + name] = function(){ // [ ... ] > > Is there anyway to implement the innerHeig

[jQuery] jQuery suggestion

2009-12-28 Thread Thai Dang Vu
I'm using IntelliJ Idea 9.0 which supports code completion/suggestion for javascript. It doesn't work with the innerHeight/Width because of this // innerHeight and innerWidth jQuery.fn["inner" + name] = function(){ return this[0] ? jQuery.css

RE: [jQuery] jQuery in Action = $15 off today (12/28)

2009-12-28 Thread Rick Faircloth
I'm not sure what you mean, Jan... We can order the *new* second edition now, which is not available yet, and get chapters in PDF as they're completed...is that part correct? The part I don't understand is "then the brand-new one in late March or April." By the "brand-new one", do you mean the c

[jQuery] Re: wild card selectors question

2009-12-28 Thread Phong Long
your way is definitely more elegant and will work regardless of what they decided to make the id's. On Dec 28, 10:48 am, MorningZ wrote: > If it was me, I'm not sure i would hide the row from the user, because > as an example, what happens if I accidentally select the "9" choice? > by hiding the

[jQuery] Re: wild card selectors question

2009-12-28 Thread Phong Long
when you do $('input[id$=9]').is(":checked"), an array of all matched elements is returned. So you can do this: var checkedNAItems = $('input[id$=9]').is(":checked"); and that should should get you an array of all elements. from there, you can loop through them and extract the info you need

[jQuery] Re: wild card selectors question

2009-12-28 Thread MorningZ
If it was me, I'm not sure i would hide the row from the user, because as an example, what happens if I accidentally select the "9" choice? by hiding the row from the user's view, you do not give them the ability to fix that mistake... none the less, you can do what you seek without worrying about

[jQuery] Re: Column total

2009-12-28 Thread evanbu...@gmail.com
Yes, that's very helpful and works perfectly. thanks On Dec 28, 12:55 pm, Shawn wrote: > > jQuery(function() { > >         var MarketCapTotal = 0; > >         // loop through the table > >    jQuery('#grdWatchlistname tbody tr').each(function() { > >    // replace the dollar signs and commas > >

[jQuery] Re: jQuery + OOP + AJAX

2009-12-28 Thread Scott Sauyet
On Dec 28, 11:45 am, fran23 wrote: > There is a new love named "jQuery" but I still have some problems in > understanding issues totally (maybe like in real life ;) Coming from C++ it > takes some effort in dealing on the (totally other) javascript OOP. > The code below (that represents basics of

[jQuery] open links in the current tab in one tab only

2009-12-28 Thread Pradyut
hi, I m having jquery ui tab panel with 2 tabs on it. Is there any method by which i can open links on the same tab only when i click the links on second tab and not the first tab. For example i have the code --

[jQuery] wild card selectors question

2009-12-28 Thread Noogrub
I have a table which has a series of rows having ids like this: Each row has several radio buttons representing answers in an online survey named like so: There are many such table rows, and all that ever changes in their ids is the initial portion. (There's an ABC101a, a PDQ101a, etc).

Re: [jQuery] jQuery in Action = $15 off today (12/28)

2009-12-28 Thread Jan Wilson
MorningZ wrote: Just a heads up to people on this list Manning Publications is running a special of $15 off their books today only... one of those books is the excellent (I'd almost say *required*) read "jQuery in Action": http://www.manning.com/bibeault/ Just enter "dotd1228" in the Promo

[jQuery] Re: superfish menu issues

2009-12-28 Thread watchbill
Ok... I figured out how to get it to work. but... where do i change the font color? On Dec 28, 11:38 am, watchbill wrote: > I can't tell what it is either since the changes I made (suggested in > a post from someone dealing with transparency issues) and uploaded > didn't seem to make any differ

Re: [jQuery] Column total

2009-12-28 Thread Shawn
jQuery(function() { var MarketCapTotal = 0; // loop through the table jQuery('#grdWatchlistname tbody tr').each(function() { // replace the dollar signs and commas var MarketCap = (jQuery('td:nth-child(4)', jQuery(this)).html ().replace('$', '').replace(/[^a

[jQuery] Column total

2009-12-28 Thread evanbu...@gmail.com
Column Total I am using this bit of code to add the values in a table column which works pretty well until it encounters a null td cell with a   value. From that point on in the loop, I receive a NaN error in my alert. I'm wondering how to ignore these non-numeric values or replace them with zer

[jQuery] Multifile - help

2009-12-28 Thread jayakumar ala
Hi, I am using Multifile plugin to select the multiple file. I am trying to get the final file count for each browser selection . Any help is appreciated. Here is the sample code i am using var intVal=2; $(document).ready(function(){ $('#addFileButton').click(function(){addUploadFile();}

Re: [jQuery] how to get current sort order from tablesorter plugin?

2009-12-28 Thread vcohen
Thanks! Someone on StackOverflow pointed out that current sort order is indicated by the class applied to the column. So, I can test for the class ('headerSortUp', 'headerSortDown') on the Category column, and then trigger a sort in the opposite direction. I think I'll do that rather then go afte

[jQuery] jQuery + OOP + AJAX

2009-12-28 Thread fran23
There is a new love named "jQuery" but I still have some problems in understanding issues totally (maybe like in real life ;) Coming from C++ it takes some effort in dealing on the (totally other) javascript OOP. The code below (that represents basics of a quite more complex issue ...) runs fine,

[jQuery] Re: superfish menu issues

2009-12-28 Thread watchbill
I can't tell what it is either since the changes I made (suggested in a post from someone dealing with transparency issues) and uploaded didn't seem to make any difference. the nav still looked like the default settings. On Dec 28, 11:18 am, Charlie wrote: > can't tell what the problem is when y

[jQuery] Re: Problem with a search form in a loaded php file??

2009-12-28 Thread Scott Sauyet
On Dec 28, 7:33 am, 123gotoandplay wrote: > i have further altered the ajax_search function and i get the error > message [ ... ] > function err(){ >         alert('something went wrong'); > } This is the signature from the docs [1] val err = function (XMLHttpRequest, textStatus, errorThrown

Re: [jQuery] superfish menu issues

2009-12-28 Thread Charlie
can't tell what the problem is when you use default styling. Would be much easier to help if the problem was visible, not theoretical watchbill wrote: I searched and tried implementing some suggestions regarding the desire for transparent first level navigation so it will show the sites na

RE: [jQuery] jQuery in Action = $15 off today (12/28)

2009-12-28 Thread Rick Faircloth
Thanks for the tip, Z... Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MorningZ Sent: Monday, December 28, 2009 9:38 AM To: jQuery (English) Subject: [jQuery] jQuery in Action = $15 off today (12/28) Just a heads up to people on

[jQuery] superfish menu issues

2009-12-28 Thread watchbill
I searched and tried implementing some suggestions regarding the desire for transparent first level navigation so it will show the sites nav bar gradient image. I am using a php include for the navigation so if i need to make changes or additions to the sites navigation I can do it in one place.

[jQuery] JQuery Modal AJAX and ASP.NET

2009-12-28 Thread Seth
I am a newbie of JQuery and got stuck with sending data from JQuery Modal to asp.net page. Here is my code: function getGrower(rowid) { // get data in the selected row and prepare query string var c = 0; var str = ""; $("#result_tbl tr td." + rowid).each(function() {

[jQuery] Re: In a row trasversing, finding, counting...

2009-12-28 Thread elpatator
Never mind, found it out by myself: alert($(this).parents("tr:first").find("input[type=text]").length);

[jQuery] Re: jQuery in Action = $15 off today (12/28)

2009-12-28 Thread elpatator
Thanks for the nice tip !! On 28 déc, 15:38, MorningZ wrote: > Just a heads up to people on this list  Manning Publications is > running a special of $15 off their books today only... one of those > books is the excellent (I'd almost say *required*) read "jQuery in > Action": > > http://www.m

[jQuery] In a row trasversing, finding, counting...

2009-12-28 Thread elpatator
What I'm trying to do is to determine how many inputs are present on the same table row of the current input user is updating. I tried this: alert($(this).parents("tr:first")"input[type=text]".length()); But it counts total input in current table. What am I missing ?

[jQuery] css position problem

2009-12-28 Thread MartinBorthiry
Hello: I'm setting abs position doing this: $('#mydiv').css({position:absolute, top:100, left:100}); Everything work fine, but if #mydiv has an element (#my_internal_div) which use absolute position, it add #mydiv top and left.

[jQuery] Re: ajax success event does not work

2009-12-28 Thread MorningZ
try also catching the "error" event and see what the problem is (which make no doubt about it, something is wrong with the response for jQuery to not go into "success" $.ajax({ type: "POST", url: "submit1.php", data: $("#regist").serialize(),

[jQuery] jQuery in Action = $15 off today (12/28)

2009-12-28 Thread MorningZ
Just a heads up to people on this list Manning Publications is running a special of $15 off their books today only... one of those books is the excellent (I'd almost say *required*) read "jQuery in Action": http://www.manning.com/bibeault/ Just enter "dotd1228" in the Promotional Code box wh

[jQuery] Re: jQuery Cycle Multiple Pagers

2009-12-28 Thread pmAgony
Thanks Mike & Charlie, It appears that I have the whole shebang working now. All the best to you both. Thanks, On Dec 24, 1:33 pm, Charlie wrote: >  for the arrows you can create absolute positioned containers over top of the > slides that fadeIn, show or whatever when hover over slide. > use

[jQuery] Re: Meta question about this newsgroup

2009-12-28 Thread eleven
Thanks for your tips. Eleven. On Dec 23, 8:18 am, Leonardo Balter wrote: > Pastebin (http://pastebin.com) as the best reedit option > andhttp://jsbin.comas the best "as working" example option. > > 2009/12/22 aquaone > > > > > Providing a link to a live site or using a pastebin type site (e.g.

[jQuery] Re: Weird jquery tags in TinyMCE

2009-12-28 Thread CoolCow
Anyone? On 16 dec, 17:18, CoolCow wrote: > Hi, > > I'm having some weird behavior of jQuery in the TinyMCE editor. > > When i look at the html source generated by TinyMCE there are some > jquery attributes in the tags like this: > > jquery1260966727344="85" jquery1260966326083="85" > jquery1260

[jQuery] ajax success event does not work

2009-12-28 Thread idcoder
Hi, Can anyone explain me what does success function arguments contain..for ajax jquery.. I read the following in the documentation success -> Function A function to be called if the request succeeds. The function gets passed two arguments: The data returned from the server, formatted according to

[jQuery] Re: Problem with a search form in a loaded php file??

2009-12-28 Thread 123gotoandplay
i have further altered the ajax_search function and i get the error message function ajax_search() { var search_word=$("#searchTerm").val(); var dataString = 'search_word='+ search_word; alert("ajax search this "+dataString); $.ajax({

[jQuery] Re: Problem with a search form in a loaded php file??

2009-12-28 Thread 123gotoandplay
Tx, for the answers but i am not quit there yet. I am able to trigger the search_button? I can see the alerts i have set $(document).ready(function() { $("#content").css("overflow-y", "hidden"); $("#manageList").click(function() { $("#content").css("overflow-y", "

[jQuery] Multiple Accordions outside window

2009-12-28 Thread knal
Hi groupies, I've created multiple instances of the jQuery UI Accordion on one page. All accordions exist of 2 'tabs'. The idea is to have a sort of 'read more' functionality. If people click 'read more' in the first slide of the accordion, slide 1 closes and slide 2 (with more content) opens. Ev

[jQuery] Re: ajax

2009-12-28 Thread idcoder
Hey thanks for a reply... I corrected the selector as pointed by you..But is still cannot make anything inside success work.. On Dec 17, 5:18 am, Michael Lawson wrote: > Is your selector correct for your success function? > > perhaps you meant $("#loading") instead of $("loading")  ? > > cheers