[jQuery] Smipple - Social Code Snippets

2009-06-29 Thread Ian Lewis
Hi all, I just wanted to let everyone know about a site I created for sharing code snippets in a social way. You can check it out at http://www.smipple.net/. Smipple allows you to save, organize, and share snippets with others easily. The best part though is that you can follow other people who

[jQuery] Re: validate - submit with href - quickie

2009-06-29 Thread CliffordSean
anyone please ? CliffordSean wrote: hi zorn/everyone im trying to get the plugin working so i can submit from a link (using meta plugin) ut it dont seem to be working $(document).ready( $(#submitregister).click( function() {

[jQuery] $.data question

2009-06-29 Thread Steven Yang
Hi Sorry if its already been asked when i used $.data and pass in ''(empty string), it return me 7. no matter what i have put for ''. when i looked at the code i believe 7 was just a generated id from jQuery. and the reason why it always return the id is because of // Return the named cache data,

[jQuery] $.data question

2009-06-29 Thread Steven Yang
Hi Sorry if its already been asked when i used $.data and pass in ''(empty string), it return me 7. no matter what i have put for ''. when i looked at the code i believe 7 was just a generated id from jQuery. and the reason why it always return the id is because of // Return the named cache data,

[jQuery] Re: Date range Picker jquery

2009-06-29 Thread bharani kumar
The picker not working in FF, Any stuff On Sun, Jun 28, 2009 at 10:43 PM, bharani kumar bharanikumariyer...@gmail.com wrote: Hi , you know , u saved my life man, this small snippet i cant changes , its very stupid one , i am one mad, Thanks MR ITs very useful one, Thanks On Sun, Jun

[jQuery] Re: Weird jumping happening with hover-over

2009-06-29 Thread Jonathan Vanherpe (T T NV)
osu wrote: Hi, Could someone take a look at this website I developed and let me know what's going on with the footer logos please? It seems to happen on all browsers on my computer at work (Mac and PC) that the logos jump about when you hover over them: http://www.water4lifeconference.co.uk/

[jQuery] Hi jquery with json

2009-06-29 Thread bharani kumar
Hi all , Can some one tell me few example program links , which combination of JSON,JQUERY,PHP ?php $.post(test.php, { func: getNameAndTime }, function(data){ alert(data.name); // John console.log(data.time); // 2pm }, json); ? Some thing like return the postal code's Thanks

[jQuery] Border around fisheye images

2009-06-29 Thread Wolfram Rösler
Hello, I have a couple of images in a fisheye that I want to be displayed with some space between them. Currently, jQuery displays the images directly connected to each other: XXXYYYZZZ XXXYYYZZZ XXXYYYZZZ (XXX stands for the first picture, YYY for the second, and ZZZ for the third) What I

[jQuery] how to get jCarousel effect ,

2009-06-29 Thread jobcanibals
hi , i am new this jquery i was thrying to use jquery jcarousel effect , but i cant implement, this my javascript with html code please help out as i was facing some deadline !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://

[jQuery] Re: AJAX history management / hijaxing for JQuery 1.3.2

2009-06-29 Thread gryzzly
I would like to hear something on subject as well. This is very needed thing. Or maybe someone could write a tutorial on the subject. On Jun 16, 6:49 pm, mh makhv...@gmail.com wrote: Can anyone clue me in on situation with the  AJAX history management for JQuery 1.3.2? All the plugins I

[jQuery] Hijaxing jquery.

2009-06-29 Thread gryzzly
Hello. I've built a website and I have ajax navigation thru pages in category. Here is the link: http://qa.bubbo-tubbo.com/identity/ If you click on the image it will load the next one and it will change the hash. Also, if you copy the URL with hash (i.e.

[jQuery] Re: Border around fisheye images

2009-06-29 Thread Paul Mills
Hi, Try setting width of image to 90% .fisheyeItem img { width: 90%; } Paul On Jun 29, 9:46 am, Wolfram Rösler wolfram.roes...@gmail.com wrote: Hello, I have a couple of images in a fisheye that I want to be displayed with some space between them. Currently, jQuery displays the images

[jQuery] Re: PDF + Jquery + thickbox is not suppoting to Mozilla

2009-06-29 Thread bharathbhooshan ambati
Its wrking thanks On Mon, Jun 29, 2009 at 3:24 AM, docusmart martin.kor...@googlemail.comwrote: Hi, I too came across the problem and solved it! Read about it on my blog: http://docuview.co.uk/index.php/2008/07/display-pdf-in-thickbox-v3-jquery-finally-working/ Hope it helps, give me a

[jQuery] Re: Optimize object random generator

2009-06-29 Thread chronotype
No idea :[ On Jun 27, 2:51 am, chronotype thund3rb...@gmail.com wrote: Thank You Eric, it looks intresting and much more flexible, but it's to complex for me in this case. What I'm thinking on is, for example: - chain the whole DOM node creation process or - create a jQuery function or

[jQuery] Re: $.data question

2009-06-29 Thread Ricardo
You shouldn't use $.data directly, it's for the internals. You should be using data() on elements, like $('#someelement').data('name', 'Roger'); see here: http://docs.jquery.com/Core/data and here: http://docs.jquery.com/Internals On Jun 29, 4:41 am, Steven Yang kenshin...@gmail.com wrote: Hi

[jQuery] Re: [validate] custom submit action

2009-06-29 Thread CliffordSean
hi did u figure this out ? tnx sean Josoroma wrote: If i have a custom css toolbar in a form called confirm that doesn't use a normal submit button like: input value=Register type=submit Instead i need to use the following css-link-button to check the validate before submit: div

[jQuery] Re: $.data question

2009-06-29 Thread Steven Yang
Hi sorry for my bad example i did use something like what you said but something like $(#something).data('', mystuff); then $(#something).data('');

[jQuery] combo boxes with ajax

2009-06-29 Thread Octavian Rasnita
Hi, I would like to use a set of 2 or more combo boxes that use ajax so when I select an item from the first combo box, an ajax request is sent to the server for getting the items for the second combo box. Please tell me what's the recommended way of doing this. Is there a jQuery plugin or

[jQuery] live event doesn't work after append()

2009-06-29 Thread Anton
I found the bug ticket with similar problem: http://dev.jquery.com/ticket/4762, but it was closed as invalid. The problem still exists for me. I have the following live event: $(a:not([onclick])).live('click', ajaxLinkHandler); It's not applying to content loaded via $.ajax(...).responseXML

[jQuery] json not working

2009-06-29 Thread bharani kumar
Hi alll $(document).ready(function(){ $(#postcode).keyup(function(){ var txtvalue = $(#postcode).val(); alert(txtvalue) $.ajax({ method:POST, url: data.php, data:txtvalue=+txtvalue, dataType: json, success: function(data) { // Go do this, go do that… alert(data); }}); }); });

[jQuery] Re: Border around fisheye images

2009-06-29 Thread Charlie
this is your code stating a width is 32, then you have img margin as much as 10, losing 1/3 of space inside a no need for margin on img $('#Flags').html(HTML).Fisheye( { maxWidth: 48, items: 'a', itemsText: 'span', container: '.fisheyeContainter', itemWidth: 32, proximity: 32, halign :

[jQuery] styling thickbox

2009-06-29 Thread CliffordSean
hi there im looking to style thickbox so it looks nice (rounded corners etc etc ) has anyone come across a tutorial/sample of where this is done as i cant find any ?? tnx sean -- View this message in context: http://www.nabble.com/styling-thickbox-tp24253110s27240p24253110.html Sent from

[jQuery] Re: jQuery i18n

2009-06-29 Thread Chris Ford
Are you sure that you need to worry about i18n in your jQuery? So long as you haven't hardcoded any copy into your javascript or used any effects that presuppose a particular text direction then I would have assumed that i18n should be handled by your server-side code. Chris 2009/6/28 Mike

[jQuery] Re: json not working

2009-06-29 Thread MorningZ
Is there any sort of error shown by Firebug or Fiddler? or are you hoping for help on just doesn't work On Jun 29, 7:18 am, bharani kumar bharanikumariyer...@gmail.com wrote: Hi alll $(document).ready(function(){ $(#postcode).keyup(function(){ var txtvalue = $(#postcode).val();

[jQuery] Re: how to get jCarousel effect ,

2009-06-29 Thread Charlie
jquery.js must load before any plugin files that utilize jquery. In your case you are using file name "jquery-1.2.3.pack.js", move it above jcarousel file jobcanibals wrote: hi , i am new this jquery i was thrying to use jquery jcarousel effect , but i cant implement, this my

[jQuery] Problem with popup windows in jquery

2009-06-29 Thread Joao Portela
Hi, I'm trying to use jquery to modify some events in a popup window (window.open). Here's what I did; var popup = window.open('Example.html', 'Example', 'height=400,width=300,top=100,left=100'); $(popup.document).ready(function() { $(#widget-area a,

[jQuery] Re: hover with superfish

2009-06-29 Thread superfish
Hi Charlie, yes of course here is the site: http://www.biochauf.com/ it is necessary to click on menus so as to see article..too tiring ;-) best regards bruno On 28 juin, 17:53, Charlie charlie...@gmail.com wrote: superfish default is to function on  hover , without seeing your site it's

[jQuery] Re: hover with superfish

2009-06-29 Thread Charlie
I guess i misunderstood, you don't want to click on menu links to open new page? if you open new page on hover, user can't look at menu without a page opening. Doesn't make sense or I'm not understanding the problem superfish wrote: Hi Charlie, yes of course here is the site:

[jQuery] Re: live event doesn't work after append()

2009-06-29 Thread Mean Mike
I'm having a hard time reading your code im not sure what your trying to do but this is how I always have used 'live' [code] $(.remove).live(click, function() { $(this).parent().hide(blind,{},500); $(this).parent().remove(); }); [/code] '.remove' is my class selector

[jQuery] Re: combo boxes with ajax

2009-06-29 Thread Mean Mike
use on change event to call the ajax in on success use jquery addOption Mean Mike On Jun 29, 6:56 am, Octavian Rasnita orasn...@gmail.com wrote: Hi, I would like to use a set of 2 or more combo boxes that use ajax so when I select an item from the first combo box, an ajax request is sent to

[jQuery] Re: JQuery Autocomplete - conditional autocompletion between fields

2009-06-29 Thread Tom Worster
to set extraParams dynamically to the current value of other dom elements, assign a function to the extraParams that retrieves the value from the dom, e.g. $(#state).autocomplete(url, { extraParams: { town: function() { return $(#town).val(); } } }); see

[jQuery] Re: [autocomplete][livequery] .change()

2009-06-29 Thread Tom Worster
On 6/26/09 11:14 AM, lazytt mbre...@gmail.com wrote: Hello. I'm having a problem with the following code: $(.prodname).livequery(function(){ $(this).autocomplete (search.php, { extraParams: { 'type':'products' } }); }); $(.prodname).livequery(function(e){ $(this).change(function(e) {

[jQuery] Re: (validate) Radio button values

2009-06-29 Thread Alexandre Magno
Matt, You litteraly used the custom validation rule that I gave just for example, it was to follow that line, but that method it's to verify if that field it's greater than a number, used for minAge. so when I put: rules: { minAge: 18 } If you analyze, they return if the value it's greater

[jQuery] getJSON not finding any data

2009-06-29 Thread expresso
I have the following setup on my page inside a function: $.getJSON(http://localhost:59396/xxx/xxxHandler.ashx? action=xxxjson, function(data) { alert('got here'); $.each(data.items, function(i, item) { carousel.add(i,

[jQuery] Re: extract data from this JSON encode using jQuery

2009-06-29 Thread Alexandre Magno
Ricardo, The code it's still heavy, you are appending in each loop, this is not a good code pratice for perfomance and if you read the reference I passed, you will see that it's not so relevant. The code extract states, it can deal with a lot of data and the perfomance should be a item to

[jQuery] Re: extract data from this JSON encode using jQuery

2009-06-29 Thread Mean Mike
what I do is use addOption see a href=http://www.texotela.co.uk/code/ jquery/select/here/a $(#albums).addOption(data.albums, false); my json response looks like this {albums:{13:Horses,10:Lambs\/Sheep,12:Cows,14:Other animals}} Mean Mike On Jun 29, 10:13 am, Alexandre Magno

[jQuery] Re: getJSON not finding any data

2009-06-29 Thread MorningZ
The fact it is escaped could be an issue are you doing HttpUtility.HtmlEncode in your handler for some reason? Do you know about NewtonSoft's Json.NET library that makes it a snap to generate JSON from .NET classes? On Jun 29, 10:07 am, expresso dschin...@gmail.com wrote: I have the

[jQuery] jqPlot 0.8.5 adds Zooming and 9 Y Axes

2009-06-29 Thread Chris Leonello
jqPlot is an open source plotting plugin for jQuery. The 0.8.5 release add support for plot zooming and up to 9 y axes (introduced in 0.8.0). jqPlot is highly customizable jQuery plotting plugin with many features including: * Rotated axis text. * Vertical and horizontal bar charts. * Stacked

[jQuery] Re: jQuery.remove() = bug or feauture?

2009-06-29 Thread Laszlo Bagi
// there is no global jQuery object containing elements Thanks! That what I wanted to know... I tried to expound the source code and than some things refer of a kind of an array for me which is existing globally: (index(), inArray ()..) The resason why I started to browse the code because the

[jQuery] Re: jQuery.remove() = bug or feauture?

2009-06-29 Thread Laszlo Bagi
// there is no global jQuery object containing elements Thanks! That what I wanted to know... I tried to expound the source code and than some things refer of a kind of an array for me which is existing globally: (index(), inArray ()..) The resason why I started to browse the code because the

[jQuery] [treeview]

2009-06-29 Thread Nikkitta
// Treeview 1.4 (jQuery plugin), question about cookie path Hello! How can I force this plugin to set path in cookie to /? 'Cause I have this plugin as navigation menu on my site, and when I go to another page, it creates new cookie for this new page (for example, on the main page the cookie

[jQuery] Re: Problem with popup windows in jquery

2009-06-29 Thread brian
Why don't you just put that code in the head of the popup page? On Mon, Jun 29, 2009 at 8:11 AM, Joao Portelaagno...@gmail.com wrote: Hi, I'm trying to use jquery to modify some events in a popup window (window.open). Here's what I did; var popup = window.open('Example.html',              

[jQuery] Re: jQuery.remove() = bug or feauture?

2009-06-29 Thread Laszlo Bagi
// there is no global jQuery object containing elements Thanks! That what I wanted to know... I tried to expound the source code and than some things refer of a kind of an array for me which is existing globally: (index(), inArray ()..) The resason why I started to browse the code because the

[jQuery] Re: getJSON not finding any data

2009-06-29 Thread expresso
Fixed it. I actually needed to Encode it before. However now I have a second problem with the following code: $.getJSON(http://localhost:59396/xxx/xxxHandler.ashx? action=xxxjson, function(Data) { $.each(Data.items, function(i, item) { alert('got here');

[jQuery] Re: getJSON not finding any data

2009-06-29 Thread expresso
to backtrack previous to my last post with the second error, I had to encode the string to get it working. Encoding got rid of the \u00 which it looked like jQuery did not like? On Jun 29, 9:25 am, MorningZ morni...@gmail.com wrote: The fact it is escaped could be an issue are you doing

[jQuery] G is undefined

2009-06-29 Thread expresso
I get the following error: G is undefined init()()jquery-12.min.js (line 12) (?)()()Carousel.aspx (line 30) I()jquery-12.min.js (line 19) F()()jquery-12.min.js (line 19) [Break on this error] (function(){var l=this,g,y=l.jQuery,p=l.each (function(){o.dequeue(this,E)})}}); in

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
Ok, figured out that data.items is undefined. Not sure why because here's the json my url returns: [{ImageTag:lt;img src=quot;http://www.xxx.com/image/473.jpgquot; alt=quot;quot;gt;},{ImageTag:lt;img src=quot;http:// www.xxx.com/image/4852.jpgquot; alt=quot;quot;gt;}] On Jun 29, 10:33 am,

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
Ok, figured out that data.items is undefined. Not sure why because here's the json my url returns: [{ImageTag:lt;img src=quot;http://www.xxx.com/image/473.jpgquot; alt=quot;quot;gt;},{ImageTag:lt;img src=quot;http:// www.xxx.com/image/4852.jpgquot; alt=quot;quot;gt;}] On Jun 29, 10:33 am,

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
Ok, figured out that data.items is undefined. Not sure why because here's the json my url returns: [{ImageTag:lt;img src=quot;http://www.xxx.com/image/473.jpgquot; alt=quot;quot;gt;},{ImageTag:lt;img src=quot;http:// www.xxx.com/image/4852.jpgquot; alt=quot;quot;gt;}] On Jun 29, 10:33 am,

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
So is this valid JSON that jQuery can parse? or do I need an initial level such as Images: [{Images : [{ImageTag:lt;img src=quot;http://www.xxx.com/image/473.jpg; alt=quot;quot;gt;},{ImageTag:lt;img src=quot;http:// www.xxx.com/image/4852.jpg alt=quot;quot;gt;} ]] On Jun 29, 10:37 am, expresso

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
So is this valid JSON that jQuery can parse? or do I need an initial level such as Images: [{Images : [{ImageTag:lt;img src=quot;http://www.xxx.com/image/473.jpg; alt=quot;quot;gt;},{ImageTag:lt;img src=quot;http:// www.xxx.com/image/4852.jpg alt=quot;quot;gt;} ]] On Jun 29, 10:37 am, expresso

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
So is this valid JSON that jQuery can parse? or do I need an initial level such as Images: [{Images : [{ImageTag:lt;img src=quot;http://www.xxx.com/image/473.jpg; alt=quot;quot;gt;},{ImageTag:lt;img src=quot;http:// www.xxx.com/image/4852.jpg alt=quot;quot;gt;} ]] On Jun 29, 10:37 am, expresso

[jQuery] the best way to handle a group of div elements

2009-06-29 Thread Antonio
Hi folk, In HTML code I have this situation: div id=nam1 class='nc1 nc2 nc3 hidden'/div div id=nam2 class='nc1 nc2 nc3 hidden'/div I would like to remove hidden to class value which class value starts with nc1 I tried the following jquery code, but it doesn't work.

[jQuery] Re: G is undefined

2009-06-29 Thread MorningZ
Wow, is posting the same thing every 3 mins to bump your topic annoying Anyways, your results wrapped in [ ] signifies an Array, not a JSON object hence .getJSON has no idea what to do with it On Jun 29, 11:53 am, expresso dschin...@gmail.com wrote: So is this valid JSON that

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
yea, refreshing the page posts again, very annoying On Jun 29, 10:58 am, MorningZ morni...@gmail.com wrote: Wow, is posting the same thing every 3 mins to bump your topic annoying Anyways, your results wrapped in [ ] signifies an Array, not a JSON object  hence .getJSON has

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread MorningZ
The selector should be a *string*, to which $(.nc1).removeClass('hidden') is not... $(.nc1).removeClass('hidden') should work On Jun 29, 11:58 am, Antonio antonio.pie...@gmail.com wrote: Hi folk, In HTML code I have this situation: div id=nam1 class='nc1 nc2 nc3 hidden'/div div

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
this is how I'm sending the JSON, so it adds [ ] http://weblogs.asp.net/scottgu/archive/2007/10/01/tip-trick-building-a-tojson-extension-method-using-net-3-5.aspx On Jun 29, 10:58 am, MorningZ morni...@gmail.com wrote: Wow, is posting the same thing every 3 mins to bump your topic annoying

[jQuery] Re: G is undefined

2009-06-29 Thread MorningZ
http://en.wikipedia.org/wiki/JSON will show you what it should look like... notice the outside symbols are { ... }, not [ ] again, you should look at this if you are working with .NET and JSON, it really takes all this guess work from the equation:

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Mean Mike
your missing quotes $('.nc1').removeClass('hidden') On Jun 29, 11:58 am, Antonio antonio.pie...@gmail.com wrote: Hi folk, In HTML code I have this situation: div id=nam1 class='nc1 nc2 nc3 hidden'/div div id=nam2 class='nc1 nc2 nc3 hidden'/div I would like to remove hidden to class

[jQuery] Re: Problem with popup windows in jquery

2009-06-29 Thread Joao Portela
Yes... that should work :X On Jun 29, 3:56 pm, brian bally.z...@gmail.com wrote: Why don't you just put that code in the head of the popup page? On Mon, Jun 29, 2009 at 8:11 AM, Joao Portelaagno...@gmail.com wrote: Hi, I'm trying to use jquery to modify some events in a popup window

[jQuery] Re: clueTip with dynamic ajax parameter

2009-06-29 Thread Kristian
After several days, I finally came upon the solution! By using the id I already had collected I could call the cluetip function using the dynamic id parameter instead of the .helptext class $(document).ready(function() { $(.helptext).each(function() { var helptext_id =

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
Thanks I've seen this but would rather stay away from any libraries right now. So basically yea, should be {} I just wonder why the ASP.NET 3.5 JavascriptSerializer class doesn't produce the right output. On Jun 29, 11:03 am, MorningZ morni...@gmail.com wrote:

[jQuery] Re: (validate) Radio button values

2009-06-29 Thread Matt Riley
Thanks guys. I really appreciate all the help. I'm still stuck, though. I can't get anything to work now, although I can't seem to figure out why. I'm definitely not a programmer, so please be gentle, though feel free to explain things to me like I'm a 5 year-old. I won't be offended. :-)

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
some tells me that my original JSON is totally valid with the [ and ] On Jun 29, 11:03 am, MorningZ morni...@gmail.com wrote: http://en.wikipedia.org/wiki/JSON will show you what it should look like... notice the outside symbols are { ... }, not [ ] again, you should look at this if

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
I even sent a test string without the [ ] and I still get 'undefined' for my alert here: function mycarousel_itemLoadCallback(carousel, state) { // Only load items if they don't already exist if (carousel.has(carousel.first, carousel.last)) { return; }

[jQuery] Cluetip with textarea

2009-06-29 Thread johhnnyboy
Hello, Does anyone have a tutorial or testscript how to show a cluetip (previewwindow) when onkeyup in textarea?

[jQuery] Re: G is undefined

2009-06-29 Thread Michael Geary
That's right, your JSON is perfectly valid. You can test it at: www.jsonlint.org Here's the formatted output from that site, with the image tags elided for clarity, and comments added showing how you'd access each part of it directly in JavaScript: // Data [ // Data[0]

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
Mike thanks a lot. That is so weird. I got some ideas from http://docs.jquery.com/GetJSON and as you can see from the example it's using data.items. it's working now. I just wonder why the jQuery example is using data.items On Jun 29, 12:19 pm, Michael Geary m...@mg.to wrote: That's right,

[jQuery] Re: G is undefined

2009-06-29 Thread expresso
I understand. Thanks for the explanation. On Jun 29, 12:19 pm, Michael Geary m...@mg.to wrote: That's right, your JSON is perfectly valid. You can test it at: www.jsonlint.org Here's the formatted output from that site, with the image tags elided for clarity, and comments added showing

[jQuery] Re: G is undefined

2009-06-29 Thread Michael Geary
In addition to www.jsonlint.org, since you're developing on Windows, head over here right now and get the Fiddler debugging proxy server: http://www.fiddler2.com/ Then, go to the Extensions page: http://www.fiddler2.com/Fiddler2/extensions.asp At the very least get the JSON Viewer (at the

[jQuery] Re: send parameters to web service method using jQuery .ajax function

2009-06-29 Thread waseem sabjee
$.ajax({ type: POST, // use method POST url: myservice.asmxx/getValue, data: {'value': 'Hello World'},

[jQuery] s.replace is not a function

2009-06-29 Thread expresso
I borrowed this function from http://sorgalla.com/projects/jcarousel/examples/dynamic_flickr_feed.html function mycarousel_decodeEntities(s) { return s.replace(/amp;/g, ) .replace(/quot;/g, '') .replace(/#039;/g, ') .replace(/lt;/g, )

[jQuery] Re: Cluetip with textarea

2009-06-29 Thread Karl Swedberg
I don't think cluetip is the best tool for that job. I wrote a tutorial long ago about showing a preview for textareas. I'd just do something simple like that and position the preview div with CSS. http://www.learningjquery.com/2006/11/really-simple-live-comment-preview --Karl

[jQuery] Re: s.replace is not a function

2009-06-29 Thread Mean Mike
there is nothing wrong with the mycarousel_decodeEntities function so either your passing something it is not expecting, some part of jquery didn't load right or you have a syntax problem somewhere else Mean Mike On Jun 29, 1:49 pm, expresso dschin...@gmail.com wrote: I borrowed this function

[jQuery] Re: G is undefined

2009-06-29 Thread Karl Swedberg
The jQuery example is using data.items because the JSON object it is retrieving is different from yours. Its JSON object is coming from the flickr API. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 29, 2009, at 1:25 PM, expresso wrote: Mike

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Antonio
and if I have the following html code div id=nam1 class='nc1 nc2 nc3 hidden'/div div id=nam2 class='nc1 nc2 nc3 hidden'/div div id=nam3 class='nc1 xxx hidden'/div div id=nam4 class='nc1 xxx hidden'/div and I would like to handle only div elements with class values starting with nc1 nc2 how can

[jQuery] Re: jQuery i18n

2009-06-29 Thread chris thatcher
check out the data picker from jquery-ui. It has excellent i18n. http://jqueryui.com/demos/datepicker/#localization On Mon, Jun 29, 2009 at 8:16 AM, Chris Ford christophertf...@gmail.comwrote: Are you sure that you need to worry about i18n in your jQuery? So long as you haven't hardcoded any

[jQuery] Re: Cluetip with textarea

2009-06-29 Thread johhnnyboy
But say I really would like to? On 29 jun, 19:32, Karl Swedberg k...@englishrules.com wrote: I don't think cluetip is the best tool for that job. I wrote a tutorial long ago about showing a preview for textareas. I'd   just do something simple like that and position the preview div with  

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Mean Mike
you need the . again like this var div_elements = $('.nc1 .nc2'); On Jun 29, 1:37 pm, Antonio antonio.pie...@gmail.com wrote: and if I have the following html code div id=nam1 class='nc1 nc2 nc3 hidden'/div div id=nam2 class='nc1 nc2 nc3 hidden'/div div id=nam3 class='nc1 xxx hidden'/div

[jQuery] Re: s.replace is not a function

2009-06-29 Thread expresso
It appears that the jCarousel project is obselete. The forum for it has halted in 2008. This is frustrating as I'm trying to look for a carousel that does dynamic loading. here's the json [{ImageTag:lt;img src=quot;http://www.xxx.com/image/515.jpgquot; alt=quot;quot;gt;},{ImageTag:lt;img

[jQuery] Create an AJAX form within a modal window.

2009-06-29 Thread Erich93063
I am creating an admin in ColdFusion and am trying to add a feature where when the user clicks the edit button for something, a modal window will pop up which contains a form (loaded from an external file) that when the user submits it, it's an AJAX submit and then the modal window closes and

[jQuery] Re: s.replace is not a function

2009-06-29 Thread expresso
Thanks mike. It's a bit rough for me trying to customize this stuff as I'm still pretty new to jQuery. I've got the books and all but still not the easiest to code in...as we all know AJAX is not easy. While jQuery makes it easier, it's still not that easy. On Jun 29, 1:40 pm, Mean Mike

[jQuery] (Validate) multiple groups of checkboxes

2009-06-29 Thread Maged Makled
Hey All, I have 30 groups of checkboxes and want to validate that the user select at least one checkbox from any group meaning if he selected one checkbox from the first group and nothing from the other 29 the form should be valid. I tried different solutions but none worked. Can

[jQuery] jQuery session pre-AJAX experience?

2009-06-29 Thread Vlad Didenko
Colleagues, Does anyone know if there is going to be a jQuery workshop the day before AJAX experience in Boston on September 14-16th, 2009? Thank you! Vlad

[jQuery] Re: Refreshing a div after a Ajax operation

2009-06-29 Thread James
I didn't look into it deeply, but just so you know, the argumetns for $.load() is $.load(url, [data], [callback]). .load('index.php #container ul'); is not going to work. It should look like: $('#container ul').load('index.php'); On Jun 28, 12:41 am, Maruf maruf2...@gmail.com wrote: Well I'm

[jQuery] Re: s.replace is not a function

2009-06-29 Thread Mean Mike
ohh yeah can we see the json result ? On Jun 29, 1:49 pm, expresso dschin...@gmail.com wrote: I borrowed this function fromhttp://sorgalla.com/projects/jcarousel/examples/dynamic_flickr_feed.html function mycarousel_decodeEntities(s) {     return s.replace(/amp;/g, )            

[jQuery] Re: ajax .load() function appends a 0 to returned values

2009-06-29 Thread James
It sounds like it's coming out of your php script. Maybe you left some kind of debug code in there? Something that echos true or false? You can use Firebug for Firefox to check what the returned response for your ajax is. If you see the 0 in there, it's from your php code. If you don't, it's

[jQuery] Re: (validate) multiple checkbox groups

2009-06-29 Thread Maged Makled
I have the same problem where I'm using the validation plugin and have 30 checkbox groups and the form is valid only if they select at least one checkbox from any group. Can anybody help Thanks -Maged Makled On Jun 26, 2:12 pm, Alexandre Magno alexan...@gmail.com wrote: Are you

[jQuery] Re: G is undefined

2009-06-29 Thread Michael Geary
The jQuery example uses data.items because the JSON data it fetches is an object with an items property. Load the sample URL in your browser and look at the data: http://api.flickr.com/services/feeds/photos_public.gne?tags=cattagmode=any format=json

[jQuery] Re: Problems with $.getScript (IE)

2009-06-29 Thread James
Probably the script is being cached. Try changing the url everytime the getScript function is called. This is commonly done by adding a time to the url's query string, like: Generate a new time with: var t = new Date().getTime(); http://server.url?roomname=alfatime=[add time here] On Jun 27,

[jQuery] Re: s.replace is not a function

2009-06-29 Thread expresso
actually I think it is valid, the quote must have showed up rendered in that last post. [{ImageTag:lt;img src=quot;http://www.xxx.com/image/515.jpgquot; alt=quot;quot;gt;},{ImageTag:lt;img src=quot;http:// www.xxx.com/cat_image/426.jpgquot; alt=quot;quot;gt;}] oh well I'll play with it some

[jQuery] Re: s.replace is not a function

2009-06-29 Thread expresso
so in other words, that quote you're seeing is really quot; it's just rendering in here as an actual quote when it's really quot; for that end quote when I view the JSON in the browser. On Jun 29, 2:07 pm, expresso dschin...@gmail.com wrote: actually I think it is valid, the quote must have

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Antonio
As you can see at this page: http://webcms.ba.infn.it/~pierro/GUIcondDb/CondDBMonitoring/test.html# var div_elements = $('.nc1 .nc2'); doesn't work Antonio On 29 Giu, 19:37, Antonio antonio.pie...@gmail.com wrote: and if I have the following html code div id=nam1 class='nc1 nc2 nc3

[jQuery] Re: s.replace is not a function

2009-06-29 Thread Mean Mike
did that solve the problem ? On Jun 29, 2:46 pm, expresso dschin...@gmail.com wrote: Thanks mike.  It's a bit rough for me trying to customize this stuff as I'm still pretty new to jQuery.  I've got the books and all but still not the easiest to code in...as we all know AJAX is not easy.

[jQuery] Re: s.replace is not a function

2009-06-29 Thread Mean Mike
sorry I can't help with your carousel but that is not valid json you have extra quote in this part of line '.jpg alt=' mike On Jun 29, 2:07 pm, expresso dschin...@gmail.com wrote: It appears that the jCarousel project is obselete.  The forum for it has halted in 2008.  This is frustrating as

[jQuery] Re: s.replace is not a function

2009-06-29 Thread expresso
if I try a hard coded string like this, it's fine when I pass this back. Notice that it does NOT have the []: string testJSON = @{ImageTag:lt;img src=quot;http:// www.xx.com/image/473.jpgquot; alt=quot;quot;gt;}, {ImageTag:lt;img src=quot;http://www.xxx.com/image/ 485.jpgquot;

[jQuery] Add class where input differs

2009-06-29 Thread Richard Walsh
I'm writing an application that will show the history of a form, so for example record 1 is revision 1 and record 14 is revision 14. This all works fine and dandy, but what I'm trying to achieve is where the input value differs to highlight the form field. I'm imaging the code to basically look

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Antonio
also var div_elements = $('.nc1, nc2') doesn't work because it works like nc1 OR nc2 the solution is to write var div_elements = $('.nc1.nc2') i.e. .nc1.nc2 tied without empty space.. thanks Antonio On 29 Giu, 21:01, Mean Mike mcgra...@gmail.com wrote: my bad you need a comma separator as

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Mean Mike
my bad you need a comma separator as well var div_elements = $('.nc1, .nc2'); On Jun 29, 2:55 pm, Antonio antonio.pie...@gmail.com wrote: As you can see at this page:http://webcms.ba.infn.it/~pierro/GUIcondDb/CondDBMonitoring/test.html# var div_elements = $('.nc1 .nc2'); doesn't work

[jQuery] Re: s.replace is not a function

2009-06-29 Thread expresso
resolved. I had an error somewhere else in my code. thanks. On Jun 29, 2:11 pm, expresso dschin...@gmail.com wrote: if I try a hard coded string like this, it's fine when I pass this back.  Notice that it does NOT have the []: string testJSON = @{ImageTag:lt;img

  1   2   >