[jQuery] Re: Selector help

2009-07-19 Thread Shawn
that would still fail - unless he has a tag named this just like doing $(a) finds anchor tags. If however he is using this in terms of an event handler (where this is a reference to the DOM object that threw the event, then he would need to remove the quotes:

[jQuery] Re: JSON form submit

2009-07-19 Thread David
If you are using JSON to construct your server request, why do you need a params order? I mean, in JSON format, you will have pairs detailing attribute name - attribute value, so you will always know which parameter are you dealing with. On 18 jul, 15:02, NightFox nightfox...@gmail.com wrote:

[jQuery] Re: Newbie Datepicker Question

2009-07-19 Thread gfranklin
Yes I agree with James. You should set the value from the database to match the format exactly as the datepicker needs it to be. If you are using PHP here is a cheat sheet: http://php-date.com/ g On Jul 17, 10:23 pm, James james.gp@gmail.com wrote: That was just an example. You should try

[jQuery] Re: Selector help

2009-07-19 Thread Charlie
absolutely right, and I know better, was far too late at night...thanks for the catch Shawn wrote: that would still fail - unless he has a tag named this just like doing $(a) finds anchor tags. If however he is using this in terms of an event handler (where this is a reference to the

[jQuery] Re: Selector help

2009-07-19 Thread Dhruva Sagar
Hi, Perhaps your missing a space? $('this h1'), or $('this ' + 'h1') What I don't understand is, why are you trying to concatenate two strings when you don't need to? Thanks Regards, Dhruva Sagar. On Sat, 2009-07-18 at

[jQuery] Re: Variable scope trouble

2009-07-19 Thread rhodopsin
Thank you Mike! It works perfect now.

[jQuery] Re: Multi jquery plugins in 1 page?

2009-07-19 Thread tswaters
if you used two closures, e.g. (function($){ $.fn.myplugin = function(){} })(jQuery) (function($){ $.fn.mysecondplugin = function(){} })(jQuery) make sure there is a semicolon separating them. On Jul 18, 9:25 am, Tzontonel tzonto...@gmail.com wrote: I want to put in 1 page two jquery

[jQuery] jQuery Combo Boxes (User Selection) / Text Validation

2009-07-19 Thread Admiral Data
Is there a way to have a text validation tool for jQuery such that: Box 1: Hi Box 2: Automatically fills with Hi if Hi is entered in Box 1 In another case if, Box 1: Bye Box 2: If the user enters Bye in Box 2 it says that they entered an invalid response Also is it possible to have it such

[jQuery] jQuery Text Validation/Combo Boxes

2009-07-19 Thread Admiral Data
Hello, Is there anyway to make a text validation tool such that if in box 1 the user entered dog, then in box 2 dog is entered for them. But if they enter cat in box 1 and attempt to enter cat in box 2 it tells them they have made an invalid selection? Also is there anyway to make it such that

[jQuery] about get() in ajax part of jquery

2009-07-19 Thread Bradley
Hi guys! I've got a problem to tackle. Will anybody help me? I wrote a $(document).ready() function in a js file that are referenced by a html page. $(document).ready(function() { $('#letter-e a').click(function() { $.get('http://localhost/e.php', {'term':$(this).text()},

[jQuery] Requirement for duplicate AJAX attribute name

2009-07-19 Thread Coop
All, I have a situation where I need to pass the same named attribute to an AJAX enabled endpoint. Basically I need to simulate something like http://example/cgi?text=1500characterstext=1500characters. I need this type of scenario to work in typical JQuery AJAX and JSONP calls. I understand that

[jQuery] Does any one know of a page that uses GalleryView 2.0?

2009-07-19 Thread liquidcomma
Hi, Since all the doucmentatio refers to the earlier version of GalleryView, does any one know of a page that uses GalleryView 2.0? To see an example of it in action. Thanks. Justin

[jQuery] Re: Does any one know of a page that uses GalleryView 2.0?

2009-07-19 Thread Charlie
have been playing with it a bit and it isn't compatible with version 1.1 markup. Look in changelog.txt for revised markup and options if this is problem you are having liquidcomma wrote: Hi, Since all the doucmentatio refers to the earlier version of GalleryView, does any one know of a

[jQuery] Adding element to an array of object

2009-07-19 Thread FrenchiINLA
I would like to add a key value to an object array. let's say i have 2 arrays: var parArr = new Array('par1', 'par2', 'par3', 'par4'); var valArr = new Array('val1', 'val2', 'val3', 'val4'); I would like to obtain ext={par1:val1, par2:val2,pa3:val3,par4:val4} Any help

[jQuery] Re: Adding element to an array of object

2009-07-19 Thread Theodore Ni
Something simple (without any error checking) like the following works for me: html head titleObject Array/title script type=text/javascript var parArr = new Array('par1', 'par2', 'par3', 'par4'); var valArr = new Array('val1', 'val2', 'val3', 'val4'); function addKeysValues(original, newkeys,

[jQuery] Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
OKgranted I am totally a rookie here...but I am S stuck! Could anyone look at this page: http://www.movieeye.com/index-new.jsp and help me with either of the two big problems I am having??? Problem #1: When the content is loading (3 content div's worth) it shows ALL of the content

[jQuery] UI Tabs and xStandard Object

2009-07-19 Thread blackmeta...@googlemail.com
Hi I seem to have found the following bug. (I am using the the latest versions of all products mentioned) When using jQuery UI Tabs with the following code in one tab, I then select another tab then selected the first tab again the content of the xStandard object is lost or reverts to the

[jQuery] Re: Json post with mozilla

2009-07-19 Thread jayz
hey am a totally newbie with json and jquery bothi am accessing a restful service which on GET request reply with some json data...now i wanna parse that through jquery..could you give me a sample code or something?. you have mentioned that u bbeen able to perform GEt request

[jQuery] Help in validation plugin

2009-07-19 Thread MrConfused
I have just started using this great validation plugin but I encounter problem in Remote. I do not know how to create a JSP script that will take in the parameter for the evaluation. Can anyone show me some example codes so that I can get started? Thanks a lot.

[jQuery] jcarousel - malware-adware?

2009-07-19 Thread gauthier2022
I had malware/adware two days ago. Scanned with Spybot search and destroy but now mybrowsers are slow (IE and Firefox) plus i get a window saying: jcarousel No width/height set for items. Tjis will cause an infinite loop. What caused this and how do i correct the problem? Thanks to the good

[jQuery] Validation Plugin

2009-07-19 Thread MrConfused
Recently I have just started using JQuery and JQuery Validation plugin. They are really great in terms of helping me in my project. I am having problem with one of the property in the validation plugin. I do not understand about the method called Remote. How do I write out a script in JSP to

[jQuery] JQuery Message with Validate Plugin

2009-07-19 Thread pocket
I am currently using the validate plugin and I needed to find a way of displaying a message when the user clicks submit but only if they meet certain criteria on their postcode. I have just seen Message which will display a pop up message. How do the two work together? Is it possible? Does the

[jQuery] Re: MODAL HELP!!!!!!!!

2009-07-19 Thread Theodore Ni
I don't know if you are still having this problem, but the reason it isn't working is simply bad JavaScript syntax. You should use your working code, as there is nothing wrong with it. Teddy On Tue, Jul 14, 2009 at 4:26 PM, Nick mrnickst...@gmail.com wrote: Anyone: I cant seem to get this to

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Charlie
for starters your images are huge ...sampled a couple .Judy Dench is 1728px 2304px (scaled to 449px 600px) and file size is 350kb! that's a huge amount of loading time for the number of images you have Alan wrote: OKgranted I am totally a rookie here...but I am S stuck!

[jQuery] Re: JSON form submit

2009-07-19 Thread Michael Geary
Ah, the ambiguities of the English lanuage. :-) David, I'm pretty sure that Leon meant in a page containing multiple purchase orders, how do I select the input fields that belong to one of those purchase orders? Not order in the sense of which one comes before another. :-) Leon, when do you

[jQuery] Help with variable passing and jCarousel callbacks

2009-07-19 Thread oswaldcobblepot
Hi everyone, I think this is probably an easy thing to fix, I'm just a bit lost at the moment. I have a photo gallery up and running that uses the Galleriffic plugin alongside the jCarousel plugin, and I am currently trying to get the carousel to scroll along with the displayed image. I know

[jQuery] using extend to extend inner object options

2009-07-19 Thread alexanmtz
Hello everyone, In my plugin arquitecture, I need a inner object of options like the ticked http://dev.jquery.com/ticket/2447 How could I achieve this? I understand that it's really a expected result to overwrite a inner object, but in plugin that I`m developing, I need a subobject of options

[jQuery] Re: jcarousel - malware-adware?

2009-07-19 Thread MorningZ
It's called a false positive... where Spybot *thinks* it's something malicious, but it isn't... if it's really that much a concern to you, and in no should it, then i would suggest not using the plugin On Jul 19, 11:18 am, gauthier2022 gauthier2...@gmail.com wrote: I had malware/adware two

[jQuery] Re: Selector help

2009-07-19 Thread Ricardo
this is an object name, you want to pass the object itself and not a string, as others have already said: $(this).find('+ h1') or $('+ h1', this) or $(this).next('h1') http://docs.jquery.com/Selectors On Jul 19, 4:46 am, Dhruva Sagar dhruva.sa...@gmail.com wrote: Hi, Perhaps your missing a

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
Yeah, I know. As part of the re-write we will deal with the image issue. The page load time on the actual site is aweful. On Jul 19, 10:11 am, Charlie charlie...@gmail.com wrote: for starters your images are huge  ...sampled a couple  .Judy Dench  is 1728px × 2304px (scaled to 449px ×

[jQuery] Re: Help with variable passing and jCarousel callbacks

2009-07-19 Thread oswaldcobblepot
NM, dumb question. Got it working. On Jul 19, 4:14 pm, oswaldcobblepot oswald.cobble...@gmail.com wrote: Hi everyone, I think this is probably an easy thing to fix, I'm just a bit lost at the moment. I have a photo gallery up and running that uses the Galleriffic plugin alongside the

[jQuery] Can't change padding using animate() in IE

2009-07-19 Thread djeyewater
I have a function that resizes an image (imgCur) and changes its padding when a new image (img) is loaded like so: img.onload = function(){ var t = this; //Animate current image to new image size imgCur.animate({ width: t.width,

[jQuery] Re: jcarousel - malware-adware?

2009-07-19 Thread icpep
MorningZ wrote: It's called a false positive... where Spybot *thinks* it's something malicious, but it isn't... if it's really that much a concern to you, and in no should it, then i would suggest not using the plugin On Jul 19, 11:18 am, gauthier2022 gauthier2...@gmail.com wrote: I had

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Glazz
Hi, I dunno how your plugin works, but here goes my 2 cents #Problem 1: Why don't place a display: none; style? Dunno if this works with your plugin but, you can do this and in inside your plugin just show the content you need to show... #Problem 2: Don't understand what you mean for scrolls

[jQuery] Re: $.ajax How-to?

2009-07-19 Thread Glazz
Hi, Here data : $('#form').serialize() you are serializing the data, so in the php i guess you need to unserialize it, dunno but maybe that is the problem with your script. Here's how i do it, i use json btw: $.ajax({ type: 'POST', url: 'ajax.php', data: 'quantidade=' +

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
Problem #1: not sure where i would put that, but I will check it out. Problem #2: In IE 7, if you click on the arrow to scroll left or right, you can see the previous content off to the side of the slider. interesting you didn't see it, so I checked out Firefox, and sure enough, the problem is

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
I can show css or slider code if it helps. Slider CSS below -- @charset utf-8; /* CSS Document */ #slidercontent{ position:relative; } #slidercontainer{ margin:0 auto; position:relative;

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Glazz
Hmm i tried to replicate that on my server but whithout success... You can try what i've mentioned in my previous post, display: none; like this: HTML: div id=slider align=center style=display: none; JS: Add this $('#slider').css({'display' : 'block'}); After this.each(function() {

[jQuery] Re: Value adding to drop down

2009-07-19 Thread naz
i have values in data same like you are using BSIT|MSIT|BSC| etc when i used alert(). to display data values then values are correct but when values appear in drop down they become |BSIT code is like this var programs=[]; alert(data); programs=data.split('|');

[jQuery] Re: Value adding to drop down

2009-07-19 Thread naz
i have values in data like BSIT|MSIT|BSC| etc when i used alert(). to display data values then values are correct but when values appear in drop down they become |BSIT code is like this var programs=[]; alert(data);

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
Tried that...still same result. On Jul 19, 7:47 pm, Glazz brunofgas...@live.com.pt wrote: Hmm i tried to replicate that on my server but whithout success... You can try what i've mentioned in my previous post, display: none; like this: HTML: div id=slider align=center style=display: none;

[jQuery] Re: Value adding to drop down

2009-07-19 Thread Jules
OK that means the values causing the problem. Are your strings stored in the database as double byte characters? Try to view your page in Firefox and use firebug to display the value instead of using alert (). On Jul 20, 2:08 pm, naz s.na...@gmail.com wrote: i have values in data like

[jQuery] setting a dynamic variable

2009-07-19 Thread macsig
Hello guys, I have found a script that works fine for me but I'd like to make it reusable but I have an issue with that. On the script I have something like function my_function() { var $container = $('#panel .container'); ... } and I'd like to pass the id (panel in this case) as a