[jQuery] Re: [validate] - Multi-lingual Error Messages

2008-11-20 Thread Jörn Zaefferer
The current approach is to include one of the localized files based on the user preference: http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/localization/ Jörn On Thu, Nov 20, 2008 at 1:00 AM, MojoMark [EMAIL PROTECTED] wrote: Is there a way to change the text of the error messages?

[jQuery] Re: jQuery select all vs conventional javascript

2008-11-20 Thread Michael Geary
It's no surprise that the jQuery code is slower: you can always outperform jQuery with a custom-tuned loop. After all, jQuery has to do everything that your custom loop does, plus much more. For one thing, jQuery has to first build an array of all the items and then traverse that array. Your

[jQuery] Re: jQuery select all vs conventional javascript

2008-11-20 Thread JQueryProgrammer
Ok got it and understood that the conventional javascript would be faster than jQuery in this case. But what I have seen is that just by pressing SHIFT+END, all the options in the listbox get selected. Is there some way we can fire that event to select all options. On Nov 20, 1:10 pm, Michael

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Liam Potter
is the div necessary? Try taking it out. vani wrote: Thanks for replying, but I'm still having trouble making it work. I tried to set the table to relative and img to absolute but it didn't work as intended. This is the layout of the table: table tr tddivimg //div/td tddivimg //div/td tddivimg

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread vani
I've taken out the div, but it doesn't matter because as soon as I change the images positioning to absolute they change their top/left coordinates to the center of the cell, like this: http://tinyurl.com/5vmb42 On 20 stu, 09:57, Liam Potter [EMAIL PROTECTED] wrote: is the div necessary? Try

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Liam Potter
set the css on them to this position:absolute; top:0; left:0; vani wrote: I've taken out the div, but it doesn't matter because as soon as I change the images positioning to absolute they change their top/left coordinates to the center of the cell, like this: http://tinyurl.com/5vmb42 On 20

[jQuery] Re: jQuery Uploader Flash player 10 fix

2008-11-20 Thread Crazy-Achmet
Hmmm, guess it didn't work so well, right?

[jQuery] Re: jQuery Uploader Flash player 10 fix

2008-11-20 Thread Josip Lazic
I found this jQuery+Flash uploader, as author say - I'ts quick and dirty, but it gets job done. http://www.prodevtips.com/2008/10/31/flash-10-and-jquery-multi-file-uploader/ And, yes it works with Flash10.

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Ivan Svaljek
If I do that, they all pile up on each other at the top/left corner of the table, like this: http://tinyurl.com/5tdmgm On Thu, Nov 20, 2008 at 10:21 AM, Liam Potter [EMAIL PROTECTED]wrote: set the css on them to this position:absolute; top:0; left:0; vani wrote: I've taken out the div,

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Liam Potter
make sure you have made the td position:relative Ivan Svaljek wrote: If I do that, they all pile up on each other at the top/left corner of the table, like this: http://tinyurl.com/5tdmgm On Thu, Nov 20, 2008 at 10:21 AM, Liam Potter [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

[jQuery] [New plug-in] magicpreview

2008-11-20 Thread lomas . rik
Hi guys, I've just finished my new plug-in called magicpreview: http://rikrikrik.com/jquery/magicpreview/ It's for use in forms and it automagically updates selected elements on your page based on your form fields. Perfect for letting your users see what they're doing when filling in forms.

[jQuery] Re: Firefox problems ( with input reg. exp. verification).

2008-11-20 Thread Jsbeginner
Your code is alot better than mine and the use of test instead of match is better too. However I still have the same problem, even with your code with Firefox after 16 characters even typed slowley, Firefox becomes slow and after 20-25 characters it even blocks... Is this a bug with firefox or

[jQuery] Re: Js traditional to jquery syntax.... how?

2008-11-20 Thread Andrea - Aosta
thank you: but this only set the selected value, and not the set the selected index On 19 Nov, 19:19, aquaone [EMAIL PROTECTED] wrote: $(select).val(value); // for simple select $(select).val([value1,value2]); // for select multiple stephen On Wed, Nov 19, 2008 at 10:15, Andrea - Aosta

[jQuery] Problem in Jquery History with IE7

2008-11-20 Thread bentalay
I'm using this plugin JQuerry http://plugins.jquery.com/node/2472 to manage history in Ajax I've changed the line code $([EMAIL PROTECTED]'history']).click(function(){ by $j('body').intercept('click', [EMAIL PROTECTED]'history'], function(e){ it works perfectly in Firefox i still have the

[jQuery] dialog on the fly

2008-11-20 Thread [EMAIL PROTECTED]
Hi, In my ready function I create a div on the fly and try to create a dialog box out of it : $(document).append('div id=main class=flora/div'); $(#main).dialog(); But nothing happens. Is it at all possible to do this or should the div exists when the page is created ? Thanks

[jQuery] Re: Firefox problems ( with input reg. exp. verification).

2008-11-20 Thread Rik Lomas
Hey, the problem seems to be with the {2,63} bit, so I've rewritten your code (again), it's not as strict as before but it's a lot faster now because it tests string length rather than regex lengths: $(document).ready(function(){ var reg = /^[a-z0-9]+[a-z0-9\-\.]*\.[a-z]{2,4}$/i;

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread vani
That made it work in IE, but firefox and opera exhibit serious problems with it. Firefox sets the top/left to document top/left, and opera sets it to table top/left, only IE sets it to cell's top/left. On 20 stu, 11:03, Liam Potter [EMAIL PROTECTED] wrote: make sure you have made the td

[jQuery] Re: dialog on the fly

2008-11-20 Thread [EMAIL PROTECTED]
actually it works if i append the div to the body $(body).append('div id=main class=flora/div') On 20 nov, 11:00, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, In my ready function I create a div on the fly and try to create a dialog box out of it :  $(document).append('div

[jQuery] Window.open and jquery

2008-11-20 Thread Tolis Christomanos
Hi all, I am using window.open to open a new window to display a form. The form uses jquery for validation but i get the following error $ is not defined though i include jquery in the head Any ideas?

[jQuery] Re: Window.open and jquery

2008-11-20 Thread Liam Potter
show us code, give us a link. Tolis Christomanos wrote: Hi all, I am using window.open to open a new window to display a form. The form uses jquery for validation but i get the following error $ is not defined though i include jquery in the head Any ideas?

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Ivan Svaljek
Here is the link, but it changes often: http://tinyurl.com/634p9s On Thu, Nov 20, 2008 at 12:20 PM, Liam Potter [EMAIL PROTECTED]wrote: do you have a live example I can see? vani wrote: That made it work in IE, but firefox and opera exhibit serious problems with it. Firefox sets the

[jQuery] Re: Window.open and jquery

2008-11-20 Thread Tolis Christomanos
ok sorry The following link from the page file_editor.php which includes jquery a class=popupwindow rel=windowCenter href=components/com_highlights/lib/upload_form.php?uid=?php echo $row-id; ? title= rel=File Upload/a opens a window with this code !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Liam Potter
ok, got it. Un comment the div in the td, and apply the position relative to that. for some reason position relative doesn't seem to work on a table cell. Ivan Svaljek wrote: Here is the link, but it changes often: http://tinyurl.com/634p9s On Thu, Nov 20, 2008 at 12:20 PM, Liam Potter [EMAIL

[jQuery] how to get onchange select id

2008-11-20 Thread mohan
Hi, in my web page, i have 4 dropdowns When onchange event occurs, i want to know that dropdown id. How can i get that usng jquery. Help me. Thanks, Mohan

[jQuery] Re: jsonp to WCF problem

2008-11-20 Thread [EMAIL PROTECTED]
Hi, Could you make the JsonModule and JsonStream objects available? That would save me a couple of hours making them myself. Your help is realy appreciated. Thanks, Edwin Vermeer

[jQuery] Hi all. How to define Chrome browser?

2008-11-20 Thread mtest
How possible to define Chrome browser like other, for example Safafri: if ($.browser.safari) { alert('This is Safari') } it intersting that chrome browser do same Alert This is Safari' Question. How to define only CHROME browser?

[jQuery] Validate: calling validate() from within a function

2008-11-20 Thread Arpan Dhandhania
Hi, I am using jQuery's validate plugin. I followed the examples and have defined $(#signup-form).validate(...) inside $(document).ready (...). This works for me. What this does is that when I submit the form, it calls validate(). What I want to do is call validate() from within a function.

[jQuery] Image uploader / manager

2008-11-20 Thread netvibe
What do you think about http://netvibe.nl/imagemanager/ It's all jquery / php based.. U can upload multiple files at once (swf upload) and edit the files, rename, remove, etc, etc..

[jQuery] 2 Form Fields

2008-11-20 Thread lunet4
How would i refer to an element in a form if i have at least 2 forms in a page? For example, llet's say i have the following: form id=form1 input id=input1 / /form form id=form2 input id=input1 / /form How would i refer to the input1 in form1? I've tried $('#form1#input1') or something

[jQuery] need advise to create layer slide down menu

2008-11-20 Thread AlecTee
Hi, i'm new to JQuery, I wish to have a slide down effect as below link. www.digi.com.my I have tried the slide effect for JQuery, but it always start the animation from top but not bottom. My description may confusing, please visit above link as example. Thanks in advance.

[jQuery] Re: 2 Form Fields

2008-11-20 Thread fa fa
similar to document.forms, what is the jquery equivalent? On Thu, Nov 20, 2008 at 2:05 AM, lunet4 [EMAIL PROTECTED] wrote: How would i refer to an element in a form if i have at least 2 forms in a page? For example, llet's say i have the following: form id=form1 input id=input1 / /form

[jQuery] Reg: jsf support jQuery?

2008-11-20 Thread jaga
Dear All, We are Developing an Web Application using JSF1.2,Spring 2.5, and Hibernate3.0. We would like to know whether we can use jquery Integrated with JSF Framework, If it work kindly provide some Samples or supported links Thanks Regards Jagan R

[jQuery] Re: Window.open and jquery

2008-11-20 Thread Rik Lomas
In your script tags, you have scr=jquery.js instead of src=jquery.js Rik 2008/11/20 Tolis Christomanos [EMAIL PROTECTED]: ok sorry The following link from the page file_editor.php which includes jquery a class=popupwindow rel=windowCenter

[jQuery] Re: Window.open and jquery

2008-11-20 Thread Tolis Christomanos
OMG!!! Yes i am blind Thank you so much!!! On Thu, Nov 20, 2008 at 1:48 PM, Rik Lomas [EMAIL PROTECTED] wrote: In your script tags, you have scr=jquery.js instead of src=jquery.js Rik 2008/11/20 Tolis Christomanos [EMAIL PROTECTED]: ok sorry The following link from the page

[jQuery] Re: Hi all. How to define Chrome browser?

2008-11-20 Thread Liam Potter
That's because they both use the same rendering engine, WebKit. I'm not sure right now if you can single one from the other. mtest wrote: How possible to define Chrome browser like other, for example Safafri: if ($.browser.safari) { alert('This is Safari') } it intersting that

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread vani
That's it, weehee! Now if only I could somehow position the center of the images to coincide with the center of parent cell? Any ideas on that one, and perhaps compatible with jquery animated resize? On 20 stu, 12:43, Liam Potter [EMAIL PROTECTED] wrote: ok, got it. Un comment the div in the

[jQuery] Re: Hi all. How to define Chrome browser?

2008-11-20 Thread Mike Alsup
How possible to define Chrome browser like other, for example Safafri: if ($.browser.safari) {         alert('This is Safari')     } it intersting that chrome browser do same Alert     This is Safari' Question. How to define only CHROME browser? $.browser.chrome =

[jQuery] Re: 2 Form Fields

2008-11-20 Thread Mike Alsup
I've tried $('#form1#input1') or something similar but it doesn't work. What is the correct syntax? Thanks! The correct syntax is CSS, so you need a space between the two: $('#form1 #input1'); or, since the input you want has an ID you can simply use that: $('#input1');

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Liam Potter
erm, best way to explain is to show an example. lets say the image is 400x400 to get it in the center you will need to set top and left to half that. top:-200px; left:-200px; If I'm right this should work, and you can use this in jquery animate. vani wrote: That's it, weehee! Now if only

[jQuery] Re: Validate: calling validate() from within a function

2008-11-20 Thread Jörn Zaefferer
You could bind a submit event handler before calling validate. That way your handler should be executed before the validation. $(#myform).submit(myHandler).validate(); Jörn On Thu, Nov 20, 2008 at 10:02 AM, Arpan Dhandhania [EMAIL PROTECTED] wrote: Hi, I am using jQuery's validate plugin.

[jQuery] Re: jsonp to WCF problem

2008-11-20 Thread [EMAIL PROTECTED]
Hi, I am trying to implement a HttpModule but can't get it to work. Can you please post the code plus config changes? In the documentation it looks like a HttpModule can not work with WCF. When you look at http://msdn.microsoft.com/en-us/library/aa702682.aspx then you will see the folowing

[jQuery] loading css in the ready() function

2008-11-20 Thread [EMAIL PROTECTED]
Hi, I want to load the flora css on the fly in the ready() function : $(document).ready(function(){ $(head).append('link rel=stylesheet href=http://dev.jquery.com/ view/tags/ui/latest/themes/flora/flora.all.css type=text/css media=screen title=Flora (Default)'); $(body).append('div id=main

[jQuery] Re: jsonp to WCF problem

2008-11-20 Thread [EMAIL PROTECTED]
Ah, i found it. You have to set the aspNetCompatibility Config file: system.serviceModel serviceHostingEnvironment aspNetCompatibilityEnabled=true / Service class: [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required),

[jQuery] Re: Show and hide a list of divs according to anchored ID

2008-11-20 Thread Paul Collins
For anyone who finds this in the future, it's called the tabs plugin. Can be found here: http://stilbuero.de/jquery/tabs_3/ One question on this for anyone who may know, does the tabs plugin only work for links in a list? So, you need to target them via the UL. All my links are in a Table/TD,

[jQuery] Re: Show and hide a list of divs according to anchored ID

2008-11-20 Thread jrutter
I almost have this working, check it out: I was able to use an alert to show the id of what was clicked! But Im trying to show/hide elements based on what is clicked. So for example, if you click link 1 (id=1) - all div's with id=1 will show, but div's with id=2 will be hidden. I can get

[jQuery] Re: Image uploader / manager

2008-11-20 Thread Alexandre Plennevaux
works well ! On Thu, Nov 20, 2008 at 10:36 AM, netvibe [EMAIL PROTECTED] wrote: What do you think about http://netvibe.nl/imagemanager/ It's all jquery / php based.. U can upload multiple files at once (swf upload) and edit the files, rename, remove, etc, etc..

[jQuery] Use event.target.id to show div's based off what id was clicked

2008-11-20 Thread jrutter
I was able to use an alert to show the id of what was clicked! But Im trying to show/hide elements based on what is clicked. So for example, if you click link 1 (id=1) - all div's with id=1 will show, but div's with id=2 will be hidden. I can get everything to show, but not just id=1. Here is

[jQuery] Re: Validate: calling validate() from within a function

2008-11-20 Thread Arpan Dhandhania
Thanks Jorn. But if 'myHandler' returned false? What I want is that if 'myHandler' returns false, it should not go ahead with the validate(). I am handling that case separately. If 'myHandler' returned true, it should proceed. Arpan D On Nov 20, 5:09 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote:

[jQuery] Re: $('#id').width()

2008-11-20 Thread CodingCyb.org
I'm still trying to picture the site in my mind. So it has three tabs that you can switch between, but the default can be different? And when the default isn't the first one, the image appears in tab one, but stays underneath the input box because the width isn't updated? On Nov 20, 12:11 am,

[jQuery] Make window.open and page communicate

2008-11-20 Thread Tolis Christomanos
I have a link where i open a new window with window.open(); Then i change some values in the new window and i want to update the page the new window was invoked with the new values. How can i do this?

[jQuery] Re: Make window.open and page communicate

2008-11-20 Thread Dirceu Barquette
Search for opener object. but you can use dialog plugin from ui.jquery. this is more flexible! Dirceu 2008/11/20 Tolis Christomanos [EMAIL PROTECTED] I have a link where i open a new window with window.open(); Then i change some values in the new window and i want to update the page the new

[jQuery] ajax image upload

2008-11-20 Thread maui
I am using http://www.phpletter.com/Demo/AjaxFileUpload-Demo/ It work very well, but I run into a problem i have it return the value of the new uploaded image after it rename in the server, I found my display problem but i have no clue how to get around it. the element on the page ajax return is

[jQuery] Re: ajaxform validation submission probs

2008-11-20 Thread juk
Hi Joern, thanks for posting that link. The example works, but there's one more thing to sort out: It does not submit the submit button's value. Can you please explain how I get this value across? Thanks! On Nov 11, 7:24 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Check this

[jQuery] Re: jQuery Uploader Flash player 10 fix

2008-11-20 Thread Olivier Percebois-Garve
mmh they confirm that swfupload is currently broken. I also experienced that its the case. On Thu, Nov 20, 2008 at 10:47 AM, Josip Lazic [EMAIL PROTECTED] wrote: I found this jQuery+Flash uploader, as author say - I'ts quick and dirty, but it gets job done.

[jQuery] Re: Validate: calling validate() from within a function

2008-11-20 Thread Jörn Zaefferer
Did you just try that? Jörn On Thu, Nov 20, 2008 at 2:14 PM, Arpan Dhandhania [EMAIL PROTECTED] wrote: Thanks Jorn. But if 'myHandler' returned false? What I want is that if 'myHandler' returns false, it should not go ahead with the validate(). I am handling that case separately. If

[jQuery] Re: Make window.open and page communicate

2008-11-20 Thread Tolis Christomanos
Thanks Dirceu I used the window.opener and it works fine! The ui.jquery seems promising too... On Thu, Nov 20, 2008 at 3:26 PM, Dirceu Barquette [EMAIL PROTECTED] wrote: Search for opener object. but you can use dialog plugin from ui.jquery. this is more flexible! Dirceu 2008/11/20 Tolis

[jQuery] edit an onclick attribute to create a php query string

2008-11-20 Thread edzah
Should really do more reading but at the moment I haven't got the time so I would appreciate any help I can get. Overview: I have a form (with the default submit turned off) that takes user input and adds each form entry into a table below the form. The user will then review the list of entries

[jQuery] Re: linkselect plugin problem (related hover gets deactivated) -- help please

2008-11-20 Thread Dan Switzer
Carl, I'm using the linkselect plugin to replace select objects in forms with a custom look... The issue I'm having is that when these occur in navigation menus/panels that appear on hover, hovering down onto the replaced select object listing causes the actual navigation menu to disappear,

[jQuery] Re: edit an onclick attribute to create a php query string

2008-11-20 Thread edzah
Ok I've got this working, dunno if it was a syntax issue or what, but I did this: $(a).click(function() { parent.location='upload.php?item=2' }); Although it behaves slightly strange. It opens the upload.php?item=2 as a tab in FF, then opens the original page in a new tab and focuses on that.

[jQuery] Re: edit an onclick attribute to create a php query string

2008-11-20 Thread edzah
Ok I've got this working, dunno if it was a syntax issue or what, but I did this: $(a).click(function() { parent.location='upload.php?item=2' }); Although it behaves slightly strange. It opens the upload.php?item=2 as a tab in FF, then opens the original page in a new tab and focuses on that.

[jQuery] Re: Validate: calling validate() from within a function

2008-11-20 Thread Arpan Dhandhania
Ya, it worked, but even if I return false in the myHandler function, validation is still going happening. Arpan D On Nov 20, 7:11 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Did you just try that? Jörn On Thu, Nov 20, 2008 at 2:14 PM, Arpan Dhandhania [EMAIL PROTECTED] wrote: Thanks

[jQuery] Re: jQuery Uploader Flash player 10 fix

2008-11-20 Thread Jörg Battermann
Let's just give him some time... good things just need that ;) @Gilles: In case you do need help (coding/testing/whatsoever).. let us know.. I am sure everyone would love to hop in and give you a hand -J On Nov 20, 10:27 am, Crazy-Achmet [EMAIL PROTECTED] wrote: Hmmm, guess it didn't work so

[jQuery] Re: Appending text works; appending element doesn't

2008-11-20 Thread Rodent of Unusual Size
I can't see anything I'm doing wrong here, but it still won't work. I've tried this: code var span = $('spanElem/span'); span.appendTo(this); /code but then Firebug says: code Node cannot be inserted at the specified point in the hierarchy code: 3 this.appendChild( elem ); [jquery.js line

[jQuery] Re: Appending text works; appending element doesn't

2008-11-20 Thread Rodent of Unusual Size
Sorry about the markup; forgot this group/forum doesn't like it..

[jQuery] Re: $('#id').width()

2008-11-20 Thread Lee Mc
Yes that's exactly right. Any ideas would be greatly appreciated! On Nov 20, 1:18 pm, CodingCyb.org [EMAIL PROTECTED] wrote: I'm still trying to picture the site in my mind. So it has three tabs that you can switch between, but the default can be different? And when the default isn't the

[jQuery] Re: Firefox problems ( with input reg. exp. verification).

2008-11-20 Thread Jsbeginner
The length check = 5 does not do anything rearly as with a .com you already have 4 characters so it allows b.com which is not possible. But if you change the 5 to 6 it stops two letter domains for two letter extensions. As for the 62 maximum size I've solved this problem with html setting

[jQuery] Re: $('#id').width()

2008-11-20 Thread CodingCyb.org
Is the original width of the text field set in css? Or is it just the width it gets when page loads? On Nov 20, 9:09 am, Lee Mc [EMAIL PROTECTED] wrote: Yes that's exactly right. Any ideas would be greatly appreciated! On Nov 20, 1:18 pm, CodingCyb.org [EMAIL PROTECTED] wrote: I'm still

[jQuery] Re: $('#id').width()

2008-11-20 Thread Lee Mc
The width of the field gets set by a stylesheet which is pulled through. On Nov 20, 3:22 pm, CodingCyb.org [EMAIL PROTECTED] wrote: Is the original width of the text field set in css? Or is it just the width it gets when page loads? On Nov 20, 9:09 am, Lee Mc [EMAIL PROTECTED] wrote:

[jQuery] IE 7 ajaxSubmit problem

2008-11-20 Thread Tolis Christomanos
Hi all, I am using jQuery Form plugin http://malsup.com/jquery/form/ to upload my files. The problem is tha in IE 7 it doesn't allow me to upload any image!! This is my source !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html

[jQuery] exclude children from selected elements

2008-11-20 Thread [EMAIL PROTECTED]
Hi, I want to apply a mouseover event on all elements but one and its children. I can't use class name to filter. How can I do it ? I've tried unsuccessfully : $(*:not(#main)).not($(#main).children()).mouseover(function() { }); thanks

[jQuery] IE Issue - Argument not valid - Creating a Jquery Magnifier

2008-11-20 Thread Anyul Rivas
Hi guys, i'm creating a *Jquery Gallery* with a mouseover *Magnifier*, using *Jquery Cycle*. The thing is when I try this script with *IE 7 *and everytime I mouseover the current image it displays an *argument not valid* alert. This is the page

[jQuery] treeview pluging issues - .find(.hitarea)

2008-11-20 Thread alextait
I am fairly new to jquery and I am trying to create a product/category browser/tree using the treeview plugin and ajax. My first simple issue is this peice of code i am trying to understand. .find(.hitarea) what is happening here ? I understand the find functino but not sure about the chevron

[jQuery] blockUI - Cannot convert undefined or null to Object

2008-11-20 Thread wlo
Hi, I'm using jQuery 1.26 and blockui 2.10. Occured on Opera 9.61. Problem listed below. My function in javascript: function doRegister() { try { $.blockUI( { overlayCSS : {

[jQuery] jQuery Validation

2008-11-20 Thread Gal
Hi, I'm trying to add new rule to the validation plug in, so far with a little success. I want to use the validation against 2 text boxes, and compare them to each other. The values must be numbers only and the first textbox value number should by smaller than the other one. How can I accomplish

[jQuery] Selector for visited/active pseudo class

2008-11-20 Thread c0d3m0n3k3y
Hi, I'm relatively new to jquery. I'd like to know if I can accomplish setting the color for visited/hover/active state of an anchor using something like $(a:link).css({color:#cc}) $(a:visited).css({color:#cc}) $(a:hover).css({color:#cc}) $(a:active).css({color:#cc}) Thanks CM

[jQuery] Find and remove attribute

2008-11-20 Thread Sibran
I am having a problem with a sharepoint site... I want to remove a style from an div. The problem is I don't have an ID on the div. Example: div style=overflow: scroll; width: 143px; height: 125px; pdf jqsfklm qsjdfklmsjdfkdjf skfjqsk dfjksdfqs /p pdf jqsfklm qsjdfklmsjdfkdjf skfjqsk dfjksdfqs

[jQuery] HP Pavilion dv5t- Intel(R) Core(TM)2 Duo Processor P8600 (2.4 GHz) , 15.4

2008-11-20 Thread windchen1214
7*24 hour On-line service: MSN/Email:[EMAIL PROTECTED] Our website: http://www.elec-bestseller.cn Product Features and Technical Details Product Features * Intel(R) Core(TM)2 Duo Processor P8600 (2.4 GHz) , 15.4 diagonal WXGA High-Definition HP BrightView Widescreen Display * 4GB DDR2

[jQuery] Superfish does not work in IE6. Including Superfish's actual site.

2008-11-20 Thread kgosser
Hey John, I downloaded Superfish the other day and have been using it. It seems like the right kind of tool for the project I'm tackling, and I'm excited about it! It's been working like a charm so far, but today, I began to start evaluating it in IE6. I've ran into two very large issues: (1)

[jQuery] Re: treeview pluging issues - .find(.hitarea)

2008-11-20 Thread Dirceu Barquette
Hi, see http://sourceforge.net/projects/jqtreevial/ I've been developing this plugin. Not complete yet, but is functional. Dirceu 2008/11/20 alextait [EMAIL PROTECTED] I am fairly new to jquery and I am trying to create a product/category browser/tree using the treeview plugin and ajax. My

[jQuery] Re: linkselect plugin problem (related hover gets deactivated) -- help please

2008-11-20 Thread clorentzen
Dan -- Thanks. I'm attempting what you suggested, but maybe my syntax is incorrect? Firebug tells me missing ) after formal parameters. Can you point me in the right direction? // replace select objects in the main content $(document).ready(function (){ $('#container

[jQuery] Re: loading css in the ready() function

2008-11-20 Thread ricardobeat
Your code worked for me exactly as it this. Are you loading any other JS libraries in the same page? On Nov 20, 10:25 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I want to load the flora css on the fly in the ready() function : $(document).ready(function(){  $(head).append('link

[jQuery] Re: treeview pluging issues - .find(.hitarea)

2008-11-20 Thread Andy Matthews
Without seeing the rest of the code, the .hitarea is a CSS selector for direct descendants. There's generally something on the left of the angle bracket such as : body .hitarea Which would apply ONLY to those objects with a class of hitarea directly inside the body tag. -Original

[jQuery] Re: jQuery Uploader Flash player 10 fix

2008-11-20 Thread netvibe
The swfupload I use, is working very well? http://netvibe.nl/imagemanager/ On Nov 20, 4:04 pm, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: mmh they confirm that swfupload is currently broken. I also experienced that its the case. On Thu, Nov 20, 2008 at 10:47 AM, Josip Lazic [EMAIL

[jQuery] Re: linkselect plugin problem (related hover gets deactivated) -- help please

2008-11-20 Thread Dan G. Switzer, II
Carl, Thanks. I'm attempting what you suggested, but maybe my syntax is incorrect? Firebug tells me missing ) after formal parameters. Can you point me in the right direction? // replace select objects in the main content $(document).ready(function (){ $('#container

[jQuery] Re: Use event.target.id to show div's based off what id was clicked

2008-11-20 Thread ricardobeat
IDs are unique identifiers, you can use classes instead (both can't start with a number) or use an attribute selector: div id=some1/div div id=some2/div div id=thing1/div div id=thing2/div $('div').click(function(){ var idtext = this.id.match(/\D*/); //exclude numbers $([id*=+ idtext

[jQuery] Re: edit an onclick attribute to create a php query string

2008-11-20 Thread ricardobeat
It is opening a new tab because it is executing the default action. href= equals the current URL, so it's opening that in a blank window. Return false to avoid that. $(a).click(function(){ parent.location='upload.php?item=2'; return false; }); On Nov 20, 12:33 pm, edzah [EMAIL

[jQuery] Re: exclude children from selected elements

2008-11-20 Thread Hector Virgen
This might work better with filter() (untested): $('*').filter('#main, #main *').mouseover(function() { }); -Hector On Thu, Nov 20, 2008 at 8:07 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I want to apply a mouseover event on all elements but one and its children. I can't use

[jQuery] Selector don't work when adding html to page

2008-11-20 Thread jetm
Hi people: The Selector work fine in the page however when a load data from HTML archive the Selector don't apply for this. TIA, JETM The Code: In tag head: $(document).ready(function() { // Change attr to _blank for open in new Windows $([EMAIL

[jQuery] [QUnit] how to test fadeOut is applied

2008-11-20 Thread todd
I have this super simple method that I'm trying to test. $.fn.updateWaitState = function(message, callback) { return this.css('color', 'red').html(message).show().fadeOut(1000, callback); } I want to make sure that the fadeOut is called. Here's what I've tried: with(jqUnit) {

[jQuery] Re: asp.net and jquery - reactions to this letter

2008-11-20 Thread rolfsf
Perhaps as jQuery gets incorporated into VS, more resources specifically for ASP.net + jQuery will appear, and that will help with the 'mindset' issue that George speaks of. I appreciate all of these comments On Nov 19, 1:48 pm, Berke [EMAIL PROTECTED] wrote: I have been the sole developer for

[jQuery] Re: Executing Dynamic Javascript

2008-11-20 Thread ricardobeat
Dynamically inserted scripts are only executed when appended to the head, I bet it works like this (maybe not): $(document).ready(function(){ vSrc = external.js; $(#target).attr(src, vSrc).appendTo('head'); }); On Nov 18, 6:25 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have an

[jQuery] Re: Selector don't work when adding html to page

2008-11-20 Thread Hector Virgen
This is a common problem with ajax requests. What's happening is the selector only applies to elements that exist on the page at the time the selector was called. Once your ajax request has updated the page with more elements, they won't have click events because they didn't exist when the

[jQuery] Re: Selector don't work when adding html to page

2008-11-20 Thread Hector Virgen
Oops, i meant they won't have target='_blank' :) -Hector On Thu, Nov 20, 2008 at 9:18 AM, Hector Virgen [EMAIL PROTECTED] wrote: This is a common problem with ajax requests. What's happening is the selector only applies to elements that exist on the page at the time the selector was called.

[jQuery] Re: [New plug-in] magicpreview

2008-11-20 Thread Rik Lomas
Thanks Leonardo On a different forum, it was mentioned that a user could XSS by entering script type=text/javascriptalert('hello');/script into a field. Should I set the default to text() instead of html() to get around this or should I try and filter out any script tags? Rik 2008/11/20

[jQuery] Re: ajax image upload

2008-11-20 Thread bharani kumar
Thanks for providing the Ajax file upload script,. its working fine, But am not sure this the problem or this is the issue, when i try to upload the file, the file is uploading ,But after uploaded the path not remove from the file browser text, I thing , the page not reloading , so that , the

[jQuery] Re: Searching for the previous sibling that matches a condition

2008-11-20 Thread ricardobeat
Would that be a tbody in the way? Try putting it there yourself, this should avoid the problem: table cellspacing=0 tbody tr td/td /tr tr td/td /tr /tbody /table On Nov 19, 11:57 pm, go_dores [EMAIL PROTECTED] wrote: First of all, I'm just getting started with jQuery so thanks

[jQuery] Re: how to test fadeOut is applied

2008-11-20 Thread todd
Here's proof that I'm new to QUnit! I was trying to put the test thread to sleep - obviously that's the wrong paradigm. I broke the test into 2 tests, and this seems to satisfy what I'm trying to do: test(updateWaitState shows element, function() { $(div.mydiv).hide();

[jQuery] Re: asp.net and jquery - reactions to this letter

2008-11-20 Thread rolfsf
He does like to complain, but he's a very good guy and a very good programmer. I sincerely hope he joins this conversation and that some of these comments, ideas, and folks might coax him back for a second look - I've never had the depth of knowledge (of either javascript, jquery or .net) to

[jQuery] jquery.cycle centering image

2008-11-20 Thread web_dev123
Hey, I'm fairly new to JQuery so pardon my ignorence. I've been working on trying to get an image rotator that fades a number of images in an out using the jquery.cycle plugin. It works fine, however the images that will be displaying are different in height and width. I need to fade the

[jQuery] Re: Superfish does not work in IE6. Including Superfish's actual site.

2008-11-20 Thread Schalk Neethling
Hi there, I also used Superfish and it worked perfectly for me in IE6. Maybe it is the build. Have a look at this article, near the end: http://css.dzone.com/news/css-and-html-two-level-menus-t-0 Regards, Schalk kgosser wrote: Hey John, I downloaded Superfish the other day and have been

  1   2   >