[jQuery] Re: Integration: cross-slide, fancybox, galleryview

2009-08-27 Thread pdxgeek
almost forgot: I was wondering if part of the problem was the z-index cluster that is a result of stacking all these plugins together. The parsed code has a crapload of z-index values that I believe are part of the conflict somewhere. I'm still trying to pick it apart but thought someone

[jQuery] Re: Image inside script

2009-08-27 Thread Fabio
Hi Paolo , I Tried perpending like this var errImg = '/img/errIcon.gif'; $(.+errId).attr(style,display: inline; color: red);$ (.+errId).prepend('img src=' + errImg + '/nbsp;nbsp;');$ (.+errId).html('nbsp;Invalid Character. Numerals only.');} which should have worked like a

[jQuery] Re: previous value ands remote validation

2009-08-27 Thread lanxiazhi
I think what you want is this:$('#FieldA').blur( $('#FieldB').val($('#FieldA').val()); $('#FieldB').valid(); );

[jQuery] Re: SimpleModal autoresize on demand?

2009-08-27 Thread lanxiazhi
Hello,Try this: $('#dialog').dialog('option',{width:500}) Hope this helps,good luck lanxiazhi

[jQuery] how to access the value of multiple textbox of same name.

2009-08-27 Thread Rupak
Hi all. I have n number of text box (n may be any number) with same name. And I want to access the value of all the text box of that name. Ex-: input type=text name=location[] / input type=text name=location[] / input type=text name=location[] / or is there any other way to access the value

[jQuery] Re: how to access the value of multiple textbox of same name.

2009-08-27 Thread lanxiazhi
var values=$('input[name=location[]]').map(function() { return $(this).val() } ).get(); this will return an array of values. 2009/8/27 Rupak rupakn...@gmail.com Hi all. I have n number of text box (n may be any number) with same name. And I want to access the value of all the text box of

[jQuery] Re: how to access the value of multiple textbox of same name.

2009-08-27 Thread rupak mandal
thanks lanxiazhi., It works On Wed, Aug 26, 2009 at 11:24 PM, lanxiazhi lanxia...@gmail.com wrote: var values=$('input[name=location[]]').map(function() { return $(this).val() } ).get(); this will return an array of values. 2009/8/27 Rupak rupakn...@gmail.com Hi all. I have n

[jQuery] Re: focus() killed by return false;

2009-08-27 Thread lanxiazhi
function loginCallback() {//add a callback function to this animation,where the focus take place. $(#login_form).show(slide, null, 1000); }

[jQuery] Re: Problem using PUT HTTP method with $.ajax

2009-08-27 Thread lanxiazhi
maybe you should change it: $.ajax({ dataType: xml, data:{xmldata:d}, success: postSave, url: saveURL, type: PUT, beforeSend: diagnoser.credManager.getAuthSetterCurrent() });

[jQuery] Re: Get directions on Google map with jquery

2009-08-27 Thread ind1g3n
Hi Charlie, I would welcome your input ind1g3n On Aug 20, 1:36 pm, Charlie charlie...@gmail.com wrote: Hi this requires using ajax ( either jQuery or google code) to send/retrieve the information which also needs to be tied into gmap code which is part of the Google map API. Google has

[jQuery] Tablesorter pagedisplay set as an input field?

2009-08-27 Thread Randell
- Why is the tablesorter's page display set as an input field instead of just a plain text? I don't think it's a good user interface for showing the page display especially when editing it has no use. Even if you can set the field as disabled, it's still not the right way to display

[jQuery] Click event not working?

2009-08-27 Thread Kris S
I'm trying to execute a function animate_next() when a div element is clicked, but it isn't working. Here is what it looks like.. $('#playground').click(function(){animate_next();}); If I put.. $('#playground').ready(function(){animate_next();}); ..then it will work fine. Here is the div

[jQuery] Effect Issue in IE

2009-08-27 Thread ajaxdinesh
Hi, I have given the example code is below, function showDiv(divid){ $(#+divid).show(slow); } function hideDiv(divid){ $(#+divid).hide(slow); } a href=javascript:showDiv('screen')Test/a div id=screen style=display:none div class=cbox

[jQuery] Ajax Form Plugin not posting variables in IE7/8--Empty $_POST array, but works in all other browsers

2009-08-27 Thread PEP
Hello, I've created an extremely simple price calculator form using the form plugin (http://malsup.com/jquery/form/), that sends some dimensions to a php script, which then reports the correct price back after some calculations into a div using ajaxForm. This is working in FF, Chrome, and

[jQuery] jQuery .append all elements

2009-08-27 Thread Jottae
Hi guys I'm trying to do the following: - $(document).ready(function(){ img=$(quot;.imgquot;); imga=img.attr(quot;hrefquot;); $(quot;#imgboxquot;).append(quot;img src='quot;+imga+quot;'/ quot;); }); --- Want to

[jQuery] Problem with livequery and data loaded with ajax call

2009-08-27 Thread sbakshi
Hi, I am using a user control in the page to display the list messages posted by the logged in user. The user control also includes the paging, which is implemented using ajax.Actionlink. In the list I have a delete button where we are using boxy class to modal popup for confirmation of

[jQuery] This is not a function

2009-08-27 Thread Chris Cardarello
Ok for some reason none of my jQuery is working i get these errors : Error: $ is not a function Source File: http://wptest.moppieillusions.com/ Line: 52 Error: $ is not a function Source File: http://wptest.moppieillusions.com/ Line: 100 Error: $ is not a function Source File:

[jQuery] Re: This is not a function

2009-08-27 Thread Michael Price
Looking at the (many!) Javascripts you've got running there, you appear to be loading jQuery twice: Line 21: script type='text/javascript' src='http://wptest.moppieillusions.com/wp-includes/js/jquery/jquery.js?ver=1 .3.2'/script Line 65: script

[jQuery] Re: how to know script's self path?

2009-08-27 Thread BaBna
First, why did you change the title of my post and added your unrelated question there? Second, in PHP, PHP_SELF doesn't send the name of the actual php script in which it is called but the page running in the browser, i.e. if you call PHP_SELF from a file included in your index.php, PHP_SELF

[jQuery] innerWidth doesn't measure scrollbars in Safari/Chrome

2009-08-27 Thread BaBna
Rechanging the subject to its original title... On Aug 27, 12:02 pm, BaBna thomas.na...@gmail.com wrote: First, why did you change the title of my post and added your unrelated question there? Second, in PHP, PHP_SELF doesn't send the name of the actual php script in which it is called but

[jQuery] [name=any] selector behaviour in IE6

2009-08-27 Thread Dannib
I just ran into a behaviour that I can't explain using jQuery 1.3.2. -- HTML table id=global_id tr.../tr tr class=rel_event name=12345.../tr tr class=rel_event name=12347.../tr tr.../tr /table -- First code which doesn't work in IE6 (work in mozilla browsers, IE7+, Opera and probably others as

[jQuery] [jQuery Time Entry] Range

2009-08-27 Thread Mirco Attocchi
Hi all, I'm new to jQuery. I'm not sure this is the right place for question about plugins. I'm trying the Time Entry Plugin with a Time range. Some one know how I can update the #tTo field when I increment the #tFrom field? Thanks for help. Mirco

[jQuery] Var in the Succes: part of Ajax

2009-08-27 Thread Kilhom
Hi everyone ! My problem is simple. Here is my code : function ajax_test(){ anc_pv = $('.pv_act').attr(pv); $.ajax({ type: GET, url: ajax_test.php, data: , dataType: html, success: function(data){

[jQuery] Re: Plug-in for elegant Horizontal Menu?

2009-08-27 Thread Richard D. Worth
Try Superfish. See 'Examples', then 'vertical style': http://users.tpg.com.au/j_birch/plugins/superfish/#sample3 - Richard On Wed, Aug 26, 2009 at 12:48 PM, lukas animod...@gmail.com wrote: I stumbled over a very elegant way to select from a large item list on http://siemens-home.com/

[jQuery] LavaLamp SubMenu Help!

2009-08-27 Thread Karen Morales
Hi I would like someone to help me out with some issues I am having with the Lava Lamp / SubMenu. This is what I have achieved so far http://karen.2kmegs.com,http://karen.2kmegs.com%2C/ however what I am trying to do now is that when I am hovering the 'Home' (or whichever has a submenu) I would

[jQuery] Re: (Validation) Problem with All or Nothing fields

2009-08-27 Thread Psyclo
Can anyone help with this, Please? Thanks.

[jQuery] (Validation) How to use with Multi-Select?

2009-08-27 Thread Psyclo
I have a form with a multi-select field that needs to be validated, so at least one option is selected. Is there a setting I'm missing in the validation plug-in? Thanks in advance.

[jQuery] (no subject)

2009-08-27 Thread Mike Holloway - Phase 8

[jQuery] Re: (Validation) How to use with Multi-Select?

2009-08-27 Thread Jörn Zaefferer
Here are examples with multi-selects: http://jquery.bassistance.de/validate/demo/radio-checkbox-select-demo.html Jörn On Thu, Aug 27, 2009 at 3:04 PM, Psyclom...@datamodel.org wrote: I have a form with a multi-select field that needs to be validated, so at least one option is selected.  Is

[jQuery] Re: LavaLamp SubMenu Help!

2009-08-27 Thread Paolo Chiodi
quite simple. instead of setting the color to green in the :active class, just use jquery.hover to set the color. Maybe when you hover the submenu you set yhe color, when exit the submenu set the color to default Paolo On Thu, Aug 27, 2009 at 2:52 PM, Karen Moraleskaren.morale...@gmail.com

[jQuery] (Validate) - Show one error at a time

2009-08-27 Thread Ron Villalon
Can anyone point me in the right direction or an example to show only one error at a time at the bottom of the form? Something similar to this: https://www.imeem.com/signup/

[jQuery] Re: Var in the Succes: part of Ajax

2009-08-27 Thread Karl Swedberg
a couple ideas. 1. add var so you're not creating a global variable (unrelated to your question, but a good practice, nonetheless): var anc_pv = $('.pv_act').attr(pv); 2. put another alert right after the var anc_pv = $ ('.pv_act').attr(pv); var anc_pv =

[jQuery] validate - Any example similar to imeem.com?

2009-08-27 Thread Ron Villalon
I can't seem to figure out how to show only one error at a time similar to https://www.imeem.com/signup/ Anyone have an example I can take a look at? Or point me in the right direction?

[jQuery] Any documentation for element.nodeIndex?

2009-08-27 Thread Justin Dearing
Hello, I was editing some javascript code yesterday that happened to use jquery. Part of the code selected two elements via jquery. Then the original author used nodeIndex to determine the position of each of these nodes in their parents. I could not find any documentation on nodeIndex on the

[jQuery] Re: Click event not working?

2009-08-27 Thread Cesar Sanz
mmm.. try this.. Put a border to your div, let's say border: 10px, then click the border to see what happen.. - Original Message - From: Kris S krissauqui...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Wednesday, August 26, 2009 7:04 PM Subject: [jQuery] Click

[jQuery] Re: Any documentation for element.nodeIndex?

2009-08-27 Thread Karl Swedberg
On Aug 27, 2009, at 8:49 AM, Justin Dearing wrote: Hello, I was editing some javascript code yesterday that happened to use jquery. Part of the code selected two elements via jquery. Then the original author used nodeIndex to determine the position of each of these nodes in their parents. I

[jQuery] Re: (Validation) How to use with Multi-Select?

2009-08-27 Thread Psyclo
Thanks for responding so quickly. Unfortunately, my form just isn't working like yours. I don't see what I've done wrong. Maybe you can see something? Here is the code: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http:// www.w3.org/TR/html4/loose.dtd html head script

[jQuery] Toggle refresh issue on IE7

2009-08-27 Thread nextpulse
I am seeing a weird effect on IE 7. I have a set of vertically aligned/stacked boxes (simple divs) that each contains a link that toggles the contents (small images loaded via ajax) of the box. Everything work as expected on FF - click on any links and the contents of the box toggles. Very

[jQuery] Re: jQuery .append all elements

2009-08-27 Thread Paolo Chiodi
$(document).ready(function(){ img=$(.img); img.each(function(i){ var imga = $(this).attr(href); $(#imgbox).append(img src='+imga+'/); }); }); Paolo On Thu, Aug 27, 2009 at 4:08 AM, Jottaesmallj...@gmail.com wrote: $(document).ready(function(){  img=$(quot;.imgquot;);  

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread MorningZ
I would suggest using Firefox and FireBug to watch what comes back from your $.getJSON call... because that will indicate that your JSON is indeed valid, because if it isn't, you'll never make it into the success event On Aug 27, 11:01 am, sso strongsilent...@gmail.com wrote: I need to return

[jQuery] Re: focus() killed by return false;

2009-08-27 Thread shenry
Thanks Ianxiazhi, that works. Why is it that I need to call focus from its own callback? Like I said, I'm very new to JS/jquery so any insight is appreciated. -S On Aug 27, 12:14 am, lanxiazhi lanxia...@gmail.com wrote: function loginCallback() {//add a callback function to this

[jQuery] Help getting started with JSON (and PHP)

2009-08-27 Thread sso
I need to return several values and I'd rather do it all in one ajax call. However there doesn't seem to be anything in data. Perhaps I'm way off here. I appreciate any guidance you can give me. Thanks :) This is my jquery $('#cart-pulldown').livequery('click', function(event){

[jQuery] Re: focus() killed by return false;

2009-08-27 Thread Florin Gheorghies
How on earth do I start getting these emails out of the blue! I've checked, I'm not member of this group. Can anyone tell me how to cancel it? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of shenry Sent: Thursday, August 27, 2009

[jQuery] ajaxForm - how to give a failure message

2009-08-27 Thread BigLob
Hi there, I'm trying to make a form that has both browser and server side validation. I'm using the validate plugin for browser side and thats working fine. I'm using the form plugin for server side. I'm using ajaxForm to test if the form was submitted and then display a thankyou message. My

[jQuery] Re: focus() killed by return false;

2009-08-27 Thread Karl Swedberg
On Aug 27, 2009, at 12:33 PM, Florin Gheorghies wrote: How on earth do I start getting these emails out of the blue! I've checked, I'm not member of this group. Can anyone tell me how to cancel it? The following instructions are paraphrased from:

[jQuery] Re: not returning a JSON object

2009-08-27 Thread W. Young
have you tried json.d ? On Aug 27, 9:38 am, defdev sp...@definitivedevelopment.co.uk wrote: Hi, i have a form defined as follows: $(document).ready(function(){         $('#edit_page_form').ajaxForm({                 type: POST,     timeout: 45000,           dataType: 'json',     error:

[jQuery] [datepicker] unique id for datepicker (ui-datepicker-div)

2009-08-27 Thread bdaniel7
hello, Is it possible to assign some unique id-s when using multiple instances of a datepicker (DP) on a page? currently i'm tinkering with this timepicker (TP) ( http://milesich.com/timepicker/ ) because i desperately need a TP, but without DP. so far i managed to make only the TP appear,

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread Leonard Martin
Have you also tried accessing your PHP page directly and copying it's output into http://www.jsonlint.com? I'd also double check your server has the JSON module for PHP installed, just to be sure ;-) On Aug 27, 4:45 pm, MorningZ morni...@gmail.com wrote: I would suggest using Firefox and

[jQuery] Re: Ajax Form Plugin not posting variables in IE7/8--Empty $_POST array, but works in all other browsers

2009-08-27 Thread PEP
I figured this out: IE won't let you use the names length or width for your name attributes, but this is fine apparently in other browsers, and it's only is an issue when submitting via ajax--if I turned the script off, it posted as normal. Hopefully this bit of knowledge will save someone a

[jQuery] json to array?

2009-08-27 Thread marksimon
Hi. I'm trying to use this google api for an org chart and I'm a little lost. script type='text/javascript' src='http://www.google.com/jsapi'/ script script type='text/javascript' google.load('visualization', '1', {packages:['orgchart']}); google.setOnLoadCallback(drawChart);

[jQuery] Re: Toggle refresh issue on IE7

2009-08-27 Thread nextpulse
For those who are interested. This is a known bug with jquery on IE (I google'ed and found others having the same issue) Its an issue with LI elements. On Aug 27, 9:38 am, nextpulse rob...@nextpulse.com wrote: Found a hack. I had to place everything in a table and force a width in IE. That

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread Leonard Martin
Have you also tried accessing your PHP page directly and copying it's output into http://www.jsonlint.com? I'd also double check your server has the JSON module for PHP installed, just to be sure ;-) On Aug 27, 4:45 pm, MorningZ morni...@gmail.com wrote: I would suggest using Firefox and

[jQuery] Validate: Position of error messages using xVal and jquery with the validate plugin

2009-08-27 Thread Robert
I have an MVC application that is using xVal and jquery with the validate plugin. I am trying to get the error message span's that appear to display under the associated form elements., right now they display to the right. I noticed that this seems to be possible with jquery validate since i see

[jQuery] Re: LavaLamp SubMenu Help!

2009-08-27 Thread Karen Morales
Hi Paolo, Thanks for your response. I achieved the updated result using the following code function fademenutext() { $('#jsddm li a').hover( function () { $(this).animate({color:'green'}, {queue:false,duration:500}); }, function () {

[jQuery] Re: Reading text value on button element

2009-08-27 Thread Jesper Rønn-Jensen
Solution: $($(button.primary)[0]).text() -- or should we call this a workaround ? Why will I have to wrap the element in another jQuery function call? /Jesper On Aug 27, 5:26 pm, Jesper Rønn-Jensen jespe...@gmail.com wrote: I'm trying to read (and then change) the text on two buttons in my

[jQuery] Re: Image inside script

2009-08-27 Thread Ricardo
$(.+errId).empty() .css({ display: inline, color: 'red' }) .text( Invalid Character. Numerals only.) .prepend('img src=x /'); What CMS are you using? The page is probably in the root of your website, so you'll need the full path to the the image. On Aug 27, 3:02 am, Fabio

[jQuery] not returning a JSON object

2009-08-27 Thread defdev
Hi, i have a form defined as follows: $(document).ready(function(){ $('#edit_page_form').ajaxForm({ type: POST, timeout: 45000, dataType: 'json', error: function() { alert(error etc ); }, success: function(json) {

[jQuery] Re: Toggle refresh issue on IE7

2009-08-27 Thread nextpulse
Found a hack. I had to place everything in a table and force a width in IE. That seems to have fixed it. (So its most likely a css issue) On Aug 27, 8:24 am, nextpulse rob...@nextpulse.com wrote: I am seeing a weird effect on IE 7. I have a set of vertically aligned/stacked boxes (simple

[jQuery] Is there a 'dropdown button' plugin?

2009-08-27 Thread donb
That's what I'd call it, anyway. This would be a captioned button with a small arrow you'd click on. That would drop down a list of button captions, changing the caption of the button when it collapses. The upshot is, the button would have variable onclick functionality, dependent upon the

[jQuery] Re: Variable Scope Help

2009-08-27 Thread WhoButSB
Thank you James for the help! I didn't know that the address is static once you've initialized it. I'm trying to work with the extraParams option but it doesn't seem to do anything. Here is how I have it set: //Item Search for food name $(#add-item #ITEMNAME).autocomplete(?=

[jQuery] Re: jQuery .append various elements of a class

2009-08-27 Thread Jottae
Thanks. Thanks. Thanks. It's Work On 27 ago, 16:41, James james.gp@gmail.com wrote: You have to loop through the jQuery set. You can use the each() method for that. $(document).ready(function(){     $(.img).each(function() {         var url = this.href;         $(#imgbox).append('img

[jQuery] Re: jQuery .append various elements of a class

2009-08-27 Thread James
You have to loop through the jQuery set. You can use the each() method for that. $(document).ready(function(){ $(.img).each(function() { var url = this.href; $(#imgbox).append('img src=+url+ /'); }); }); On Aug 26, 4:06 pm, Jottae smallj...@gmail.com wrote: Hi guys I'm

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread sso
its not installed, the functions break the script and I'm now aware that this isn't obvious when its done in an ajax call :) thanks! On Aug 27, 12:22 pm, Leonard Martin leonard.mar...@gmail.com wrote: Have you also tried accessing your PHP page directly and copying it's output

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread sso
On Aug 27, 11:45 am, MorningZ morni...@gmail.com wrote: I would suggest using Firefox and FireBug to watch what comes back from your $.getJSON call... because that will indicate that your JSON is indeed valid, because if it isn't, you'll never make it into the success event On Aug 27,

[jQuery] Re: Hover does not stop

2009-08-27 Thread amuhlou
in CSS, try adding position: relative; to the #navigation properties On Aug 27, 7:12 pm, Mario sevenartwo...@googlemail.com wrote: Hello everybody, I want to create a menu on the left side of the screen. OnMouseOver the menu should slid in from the left, OnMouseOut the menu should slide

[jQuery] Variable Scope Help

2009-08-27 Thread WhoButSB
Hello All, I'm running into some issues where I'm alittle confused about the scope of my variables. I have this code: $(function(){ var categoryID; //Aloha Item Category Dropdown Selection //Takes the Selected Value and adds it to Item Search Ending $(#add-item

[jQuery] Re: Variable Scope Help

2009-08-27 Thread James
I haven't tested this, nor tried it before, but based on the documentation the data type of extraParams has to be an object, or a function (that probably returns an object). function getCategoryID() { return {catID:categoryID}; // 'catID' will be the name of the categoryID in your script

[jQuery] Sending data to the server

2009-08-27 Thread jhm
Is there a way in jQuery to send data to a server as something other than a command string? It would be very convenient, for example, to send a block of xml or json much like getJSON() in reverse. It would need to be sent over a secure https connection. TIA!

[jQuery] Re: Upgrading to 1.3.2 from 1.2.6, selectors that used to return many elements now only returning first

2009-08-27 Thread E Winter
Found it. Incompatibility with validation plugin so I upgraded that. http://bassistance.de/jquery-plugins/jquery-plugin-validation/ On Aug 27, 11:23 am, Eric Winter ejwin...@gmail.com wrote: I am not trying to upgrade to 1.3.2 and in every case I use a selector that should (used to) return

[jQuery] Re: jQuery selector for style attribute

2009-08-27 Thread James
Is that for the whole ID? (e.g. it maybe 'ext-gen439' once or 'blah- foo3456' another) Or only just the number at the end? (e.g. always begin with ext-gen) On Aug 26, 5:10 pm, John jian.fang.subscr...@gmail.com wrote: Also, it is not possible for us to use Ids because the ids are dynamically

[jQuery] Re: Click event not working?

2009-08-27 Thread James
Could you show us what your animate_next() function looks like? On Aug 26, 3:04 pm, Kris S krissauqui...@gmail.com wrote: I'm trying to execute a function animate_next() when a div element is clicked, but it isn't working. Here is what it looks like..

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread sso
It doesn't show up in php_info(); On Aug 27, 12:22 pm, Leonard Martin leonard.mar...@gmail.com wrote: Have you also tried accessing your PHP page directly and copying it's output intohttp://www.jsonlint.com? I'd also double check your server has the JSON module for PHP installed, just to be

[jQuery] Reading text value on button element

2009-08-27 Thread Jesper Rønn-Jensen
I'm trying to read (and then change) the text on two buttons in my user interface: button class=primary approveApprove selected/button button class=primary rejectReject selected/button Now depending on how many checkboxes (elsewhere) are selected, I want to change the text to something like

[jQuery] Re: jQuery selector for style attribute

2009-08-27 Thread John
Seems I should use css(), not attr(). On Aug 27, 3:46 pm, John jian.fang.subscr...@gmail.com wrote: Seems always begin with ext-gen. I wonder if I could split the style content into multiple single attributes and then use attr() to compare. Based on that, I could create a custom selector.

[jQuery] Re: Hover does not stop

2009-08-27 Thread amuhlou
can you post an example page? it's hard to visualize what's going wrong without seeing it in action. thanks On Aug 27, 8:07 pm, Mario sevenartwo...@googlemail.com wrote: This works a little bit better, however, it slides still one more than I want and I cannot access the Menu because it

[jQuery] TableSorter plugin - default column sort DESC instead? How?

2009-08-27 Thread Crazy Serb
Ok, I can't figure this out... The default sort (when clicking on any of the headers in the tablesorter table) is ascending. Now, I want to change that to descending for ALL columns, not just the initial sort column (defined in sortList). I've tried editing sortInitialOrder parameter in the .js

[jQuery] Re: Var in the Succes: part of Ajax

2009-08-27 Thread Kilhom
Hi Karl ! Here is what i've try : function ajax_test(){ anc_pv = $('.pv_act').attr(pv); alert(anc_pv); $.ajax({ type: GET, url: ajax_test.php, data: , dataType: html, success: function(data){

[jQuery] Re: Variable Scope Help

2009-08-27 Thread James
It's not really a variable scope problem. You're misunderstanding when variables are set. This is what's happening: set global variable categoryID add change event add autocomplete with URL set to aloha/item_search/+categoryID - categoryID is blank do rest of page When you do your change

[jQuery] Re: Var in the Succes: part of Ajax

2009-08-27 Thread James
That is really strange. Are you sure? It's not much different, but try this: function ajax_test(){ var anc_pv = $('.pv_act').attr(pv); alert('1 '+anc_pv); $.ajax({ type: GET, url: ajax_test.php, dataType: html, success:

[jQuery] Re: selector behaviour in IE6

2009-08-27 Thread James
NAME is not valid attribute of tr, so it's possible you can expect some inconsistencies. I suggest changing it to using ID instead (remember, IDs cannot begin with a number also, so you'll have to prepend it with something). Other suggestions are using jQuery's data() functions:

[jQuery] (validate) How to have an error message per rule when using error labels

2009-08-27 Thread Bryce Lohr
Hi, I'm using jquery 1.3.2 and jquery.validate.js 1.5.5. I read through the docs, and did a quick search on this list, but didn't find what I was looking for. I want to have an error message for each rule on a field when using error labels in the markup. As far as I know, this can currently be

[jQuery] [validate] Appear just one error per time

2009-08-27 Thread FernandoCE
Hello, the subject describes perfectly what I need. I have more than one error but I need to display one error (label) per time.. E.x.: Name (is empty) Age (is empty) - When submit it happens: Name (appears a label: Error Name Empty) Age (appears a label: Error Age Empty) - And I need this:

[jQuery] Re: jQuery selector for style attribute

2009-08-27 Thread John
Seems always begin with ext-gen. I wonder if I could split the style content into multiple single attributes and then use attr() to compare. Based on that, I could create a custom selector. Then the question is, for example, I have a style attribute such as overflow: auto; width: 356px; height:

[jQuery] Re: Image inside script

2009-08-27 Thread Paolo Chiodi
you should do prepend(...) after html(...). Doing html you replace all the inner html of the $('.' + errId). What you do here is to appen the image and then removing it by changing the html. The image will be displayed as the first element although you put prepend as last operation: prepend

[jQuery] Re: Var in the Succes: part of Ajax

2009-08-27 Thread Kilhom
hi ! I've resolved my problem like this : function ajax_test(){ $.ajax({ type: GET, url: ajax_test.php, dataType: html, success: function(data){ anc_pv = $('.pv_act').attr(pv); } }); }; thanks all !

[jQuery] how to access dynamic data?

2009-08-27 Thread zodizack
hello groupies 1 ) how do i access ajax generated data? i have a select box populating via another select. like this: $(select#parent).change(function(){ var path='json.provider.php'; var options = ''; $.getJSON(path,

[jQuery] Re: Hover does not stop

2009-08-27 Thread Mario
This works a little bit better, however, it slides still one more than I want and I cannot access the Menu because it starts to move left immediately.

[jQuery] Re: Variable Scope Help

2009-08-27 Thread James
Oh, the reason I used a function instead of: extraParams: {catID:categoryID}, is because the function acts as a callback that will execute right before the AJAX call to get the updated data for categoryID, otherwise it will just be the same as the URL, set only on initialization (which is

[jQuery] Re: how to access dynamic data?

2009-08-27 Thread marksimon
If this is in a form and you submit the form to a php page then the child box value should get submitted as well. You may need to bind the child box after the ajax loads as well. If you do it on document.ready then there is no value for the child most likely... On Aug 27, 3:55 pm, zodizack

[jQuery] Re: Is there a jQuery way to sort span-elements?

2009-08-27 Thread mkmanning
I'm gonna go out on a limb and assume you want them sorted alphabetically, by span content: var sorted = $.makeArray($('#names span')).sort(function(a,b){ return ($(a).text() $(b).text()) ? -1 : 1; }); $('#names').html(sorted); On Aug 25, 9:14 pm, Audrey Lee audrey.lee.is...@gmail.com wrote:

[jQuery] Re: innerWidth doesn't measure scrollbars in Safari/Chrome

2009-08-27 Thread KeeganWatkins
@tinker - first, as BabBna suggested, don't hijack someone else's post! :) second, in relation to your question, here is what you need: var scripts = document.getElementsByTagName(script); var thisScript = scripts[scripts.length - 1]; after running this code, the variable thisScript is now a

[jQuery] Re: Plugin to let the user draw rectangles

2009-08-27 Thread juanefren
Does boxes have an ID property ? If not, how could I add one? (this way I can identify them) thanks :) On Aug 21, 2:08 pm, Richard D. Worth rdwo...@gmail.com wrote: Here's a slightly improved version. Thanks @cioa http://twitter.com/cioa demo:http://jsbin.com/azare

[jQuery] Re: TableSorter plugin - default column sort DESC instead? How?

2009-08-27 Thread Serb
Right, but that's for the default on-page-load sort, so to speak... I'm talking about all the other on-demand, on-header-click sorts - they all default to ascending for some reason... On Aug 27, 7:12 pm, marksimon zen...@gmail.com wrote: $(document).ready(function() {      

[jQuery] Jquery Validation plugin doesn't working on ASP NET MVC

2009-08-27 Thread Edgar Méndez .
I'm trying to use the Jquery Validation plugin on aspnet mvc fframework but it doesn't work, when I open the firebug console it display an error: jQuery is not defined [Break on this error] jQuery.extend(jQuery.fn, {\n I don´t know how to fix this issue an had already added the jquery-1.3.2.js

[jQuery] Re: Is there a jQuery way to sort span-elements?

2009-08-27 Thread jeanph01
Maybe you can take a look at my blog: http://myprogrammingetc.blogspot.com/ The question is : do you want to filter it in a jquery set (in memory) or you want to do it directly on the DOM (in the HTML). On Aug 26, 12:14 am, Audrey Lee audrey.lee.is...@gmail.com wrote: Hello, Assume I have 3

[jQuery] Re: TableSorter plugin - default column sort DESC instead? How?

2009-08-27 Thread marksimon
$(document).ready(function() { $(.tablesorter).tablesorter({ sortList: [[0,1]], widthFixed: true, widgets: ['zebra']}); }); the sortList parameter takes two arguments: column, and direction. So sorting 0,1 sorts on the first column descending. 1,0 would be second column descending.

[jQuery] Re: Hover does not stop

2009-08-27 Thread Mario
Yes, here it is: http://www.ulmercampus.de/try This has position:absolute, but position:relative works similar as mentioned.

[jQuery] Re: Hover does not stop

2009-08-27 Thread marksimon
Have you tried replacing hover with toggle? The hover seems to just go nuts for that usage. On Aug 27, 1:38 pm, Mario sevenartwo...@googlemail.com wrote: Yes, here it is:http://www.ulmercampus.de/try This has position:absolute, but position:relative works similar as mentioned.

[jQuery] inline delete ajax function/confirm dialog

2009-08-27 Thread Richard
Hi all, I have an inline delete icon on a table of a query, when the delete button is clicked, i have a dialog popup to confirm the action i then issue an ajax call to delete the user from the database and then remove the tr from the table. it all works fine until the dialog is closed. either

[jQuery] [Autocomplete] Input edit does not fire autocomplete.

2009-08-27 Thread RobGMiller
Coded the following in a page : var ArrayVariable = New Array(); $(document).ready(function() { $(#inputbox).autocompleteArray(ArrayVariable, { delay: 10, minChars: 1, matchSubset: 1, onItemSelect: selectItem,

  1   2   >