[jQuery] Image dimensions

2009-08-02 Thread Pops
I am trying to get some cross browser consistency of obtaining the true image size. In Firefox, there is two fields, image.naturalWidth image.natualHeight IE does not recognize these fields. I think I am either over thinking the issue, and probably not seeing something I thought jQuery

[jQuery] Re: form submit

2009-08-02 Thread solow
$("#itemId").val(); I found this one here http://docs.jquery.com/Attributes/val now, when I place this inside the live() function, this should work right? because it's already 'live' so it already has the elements from the dynamically loaded page. On Aug 3, 7:35 am, solow wrote: > and for the in

[jQuery] Re: validate

2009-08-02 Thread Stanislas Zaychenko
Hi Jörn, Thanks for reply, now here the context why I need to use "*id*" instead of "*name*" I have a form somethink like this: First Name:* Last Name:* Email:* Telephone:* Company: so, as you can see the name attribute is already used for server side proce

[jQuery] Re: What Do I Do wrong?

2009-08-02 Thread Iustinian
Hello, here is the body of the XHTML: ♦ News ♦ About ♦ Services ♦ References ♦ Contact ♦ Imprint

[jQuery] Re: form submit

2009-08-02 Thread solow
and for the input text input? On 3 aug, 07:11, waseem sabjee wrote: > var tcC = typecoinsCASHIN.val(); > please add values to all your option tag. > > if(tcC == 1) { > > > > } > On Mon, Aug 3, 2009 at 4:03 AM, solow wrote: > > > hello, > > > Recently i've discovered how to use dynamicaly loaded

[jQuery] Re: form submit

2009-08-02 Thread waseem sabjee
var tcC = typecoinsCASHIN.val(); please add values to all your option tag. if(tcC == 1) { } On Mon, Aug 3, 2009 at 4:03 AM, solow wrote: > > hello, > > Recently i've discovered how to use dynamicaly loaded content, with > javascript. > > $("div ul li a").live("click", function() { > //

[jQuery] Re: Select tags within a string using jQuery

2009-08-02 Thread cohq82
I am not really used to RegEx. If the return html is like this, how to add an attribute to .msg-item before parsing out? nvthoai hi Cách đây 10 giờ Trả lời Xóa

[jQuery] Re: Select tags within a string using jQuery

2009-08-02 Thread Stefano
try regular expressions http://www.w3schools.com/jsref/jsref_obj_regexp.asp http://www.w3schools.com/js/js_obj_regexp.asp or http://www.regular-expressions.info/javascript.html http://www.regular-expressions.info/javascriptexample.html maybe it helps ;) On 2 Aug., 21:13, cohq82 wrote: > Hi all

[jQuery] can't update div through dialog

2009-08-02 Thread av3nger
When I try to animate a DIV-element with this code: $(this).parents(".pane").animate({ backgroundColor: "#fbc7c7" }, "fast") .animate({ opacity: "hide" }, "slow") everything works fine. But when I try to do it after I press a button in a dialog - nothing works! Why? Here's the code: $(document).r

[jQuery] Re: css on dynamic table row

2009-08-02 Thread Stefano
this is a more css problem than a jquery problem. you have to make the right order in your css and use right selector. i had the same problem. td.td-class div a { /*some styles*/ } a.active:hover { /*some styles such as background-image dondt wordek but border worked. in my case dont worked on dy

[jQuery] Re: Looking for a Good JavaScript Editor that Supports JQuery

2009-08-02 Thread chris thatcher
+1 Aptana. excellent for javascript in general, comes with support for jquery 1.3 enhanced code support. excellent html and css editor as well. built on eclipse framework without all the java editor bulk. 2009/8/2 cfddream <371486...@qq.com> > Aptana? > > -- > Ever >

[jQuery] form submit

2009-08-02 Thread solow
hello, Recently i've discovered how to use dynamicaly loaded content, with javascript. $("div ul li a").live("click", function() { //. } Now I want to know I'm using a small form, with more than 1 field, and a 'submit button'. which looks like this: Type: Normal chipsPremium chip

[jQuery] Re: Looking for a Good JavaScript Editor that Supports JQuery

2009-08-02 Thread cfddream
Aptana? -- Ever Now .. -- Original --

[jQuery] Re: Looking for a Good JavaScript Editor that Supports JQuery

2009-08-02 Thread lists
I believe that Aptana offers jQuery support. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of S2 Sent: Saturday, August 01, 2009 8:21 PM To: jQuery (English) Subject: [jQuery] Looking for a Good JavaScript Editor that Supports JQuery

[jQuery] Re: Slow response to AJAX calls in IE7

2009-08-02 Thread Justin
It could be the response callback. But I have spent a half a day optimising the callback code for speed. I have seen some dramatic improvement - response delays of 3-4 seconds dropping to 1-2, but it still feels sluggish. There are two main ajax calls. The first is only called once when the page

[jQuery] Re: jquery 1.3.2 error with $(':inp...@name=submit]')???

2009-08-02 Thread waseem sabjee
remove the @ sign. it is no longer needed. On Sun, Aug 2, 2009 at 10:45 PM, John Resig wrote: > Just remove the @ and it'll work fine. > > --John > > > On Sun, Aug 2, 2009 at 12:07 PM, micorreo13 wrote: > >> >> I was using jquery-1.2.6 and now, I started to use jquery-1.3.2, and I >> get my fir

[jQuery] Re: jquery 1.3.2 error with $(':inp...@name=submit]')???

2009-08-02 Thread John Resig
Just remove the @ and it'll work fine. --John On Sun, Aug 2, 2009 at 12:07 PM, micorreo13 wrote: > > I was using jquery-1.2.6 and now, I started to use jquery-1.3.2, and I > get my first "difference": when I use the wrapped set operation $ > (':inp...@name=submit]') with jquery-1.3.2 it return

[jQuery] Re: plugin: blockui - How to Change cursor style in IE to 'not-allowed' on overlay???

2009-08-02 Thread Marv
Found my own answer for anyone who is interested... Changed overlayCSS to: overlayCSS: { backgroundColor: '#000', opacity: 0.0, cursor: 'not-allowed' } Now 'not-allowed' cursor style di

[jQuery] validate - require validation in multiple varying instances

2009-08-02 Thread ariela
I'm using the jquery validator supplied here: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ The form I made has six different sections corresponding to six different sets of information being entered. For clarity, I should mention that this is an RSVP form, and the user is able t

[jQuery] tooltip on newly added elements?

2009-08-02 Thread aras
Will tooltip show itself when I add IMG with tile and alt? or do i have to reinit it everytime?

[jQuery] jquery not work when firebug in on

2009-08-02 Thread lanxiazhi
windows xp firefox 3.0.6 jquery:1.3.2(latest release) script: $(document).ready( function() { $("a").click( function(event) { alert("Click");

[jQuery] Looking for a Good JavaScript Editor that Supports JQuery

2009-08-02 Thread S2
Does anyone know of a good JavaScript editor that supports JQuery? Anyone sucessfully integrate JQuery into Eclipse/WTP or JSEclipse?

[jQuery] Re: Unable to trigger a event on page load

2009-08-02 Thread Profulla K Sadangi
Hi wolf, Please try by rebinding the event in page B once page B is loaded. Hope this will help. Thanks! Praful On Sun, Aug 2, 2009 at 2:02 AM, wolf wrote: > > I bind a custom event on page A,then ajax load page B。In page B,there > is a link which trigger the custom event. > Problem is :the

[jQuery] Message didn't disappear in validation plugin

2009-08-02 Thread Adods
I use jquery validation plugin 1.5.5, and got problem with error message. They don't disappear when the form is valid or when i use multiple rules, second rule message didn't show, the message is still the first rule message. Here's the code: $(document).ready(function () { $('#user_form'

[jQuery] css on dynamic table row

2009-08-02 Thread dealkk
i create tatble row dynamic using append after calling web service. It create ok. After create table i try to add css to the td but it doesn't seem to work. any idea how to resolve this. the syntax is correct. I notice when i view source, the all the row are not there. [row append dynamiccly]

[jQuery] Re: get parent where

2009-08-02 Thread P I
$(this).closest("div").attr("id")

[jQuery] Re: How to change message while the page is blocked using blockUI plugin

2009-08-02 Thread aras
CSS selectors start with dot (.) On 2 Sie, 18:01, Mateus Caletti wrote: > Hello people, i'd like to know if it's possible change de message > while the page is block by "blockUI" jquery plugin. I've tried a lot > of things, but none was good. One thing i've tried was using CSS > selectors like:

[jQuery] jquery 1.3.2 error with $(':inp...@name=submit]')???

2009-08-02 Thread micorreo13
I was using jquery-1.2.6 and now, I started to use jquery-1.3.2, and I get my first "difference": when I use the wrapped set operation $ (':inp...@name=submit]') with jquery-1.3.2 it returns all input fields, but if I use it with jquery-1.2.6 it returns 0 (as espected). Is it an error with 1.3.2

[jQuery] apply css style after dynamic table row

2009-08-02 Thread dealkk
i am calling web service and build dynamic table row. It work up to here. and then i trying to apply css style on after that and it didn't work. Is there a work around? [I added row content dynamic by jquery here]

[jQuery] Re: How can I select an element's parent?

2009-08-02 Thread lanxiazhi
hello,I hope this helps: $("#product_links li a").click( function() { alert($(this).parent().attr("class")); } ); > On Aug 1, 11:39 am, macsig wrote: > > Hello guys, > > I'm tr

[jQuery] Re: how to make a function with JQuery

2009-08-02 Thread marcelsnews
thanks everyone It's almost simple as " MorningZ " wrote ;) I've made more impressive evolution using jQery. thanks On 12 juin, 09:14, Michael Lawson wrote: > It almost sounds to me like you're confused on what jQuery actually is?  " > Does it works similary like woring with Javascript and D

[jQuery] Re: get parent where

2009-08-02 Thread Glazz
I've went with a problem similliar to yours, a guy helped me out $(this).closest('.your-item').attr('id'); Try putting in your div a class named "your-item" like so, class="your- item" and then when you click on your span i think it wold give your div id, just try it :) Example:

[jQuery] Select tags within a string using jQuery

2009-08-02 Thread cohq82
Hi all, I have my website getting a value as a result of an ajax call. After that, I would like to insert that result (a string) into a tag. However, I would like to insert that result in a way that (1) it must have opacity = 0, then (2) it will slideDown() so the whole content list being pushed

[jQuery] get parent where

2009-08-02 Thread pedalpete
I've been trying to get a specific parent element traversing up the DOM until I find it, but it is getting to be some very verbose code, and I'm thinking there must be a better way. I have a bunch of events which is fired on a click, and I am trying to figure out which of the parent divs was clic

[jQuery] fxqueues with afterFinish ?

2009-08-02 Thread jeanluca
Hi All I've beem using prototype and scriptaculous and want to swith to jQuery. The thing is that scriptaculous has a very nice queuing mechanism. I think most of it can also be done by fxqueues, however I don't see how to call a function when a certain effect finishes. Can this be done ? and is

[jQuery] sliding button

2009-08-02 Thread macsig
Hello guys, I'm trying to create a couple of "download" buttons (one placed at the left and the other at the right of my page) with sliding effect: basically I want to show just a piece of it and when the mouse goes over to slide it in order to show if the linked document is available or not. I h

[jQuery] Optional Buttons in Modal Form Dialog

2009-08-02 Thread Daniel Israel
Hi All, I am creating an form dialog that will be slightly different for creating data than editing data. I'm pretty new to jquery, but I'm using the jqueryui and it seems to be working fine, but now I'm looking to change the labels of a couple of buttons and have one button available du

[jQuery] [plugin] How to change message while the page is blocked using blockUI plugin

2009-08-02 Thread Mateus Caletti
Hello people, i'd like to know if it's possible change de message while the page is block by "blockUI" jquery plugin. I've tried a lot of things, but none was good. One thing i've tried was using CSS selectors like: $('blockUI blockMsg blockPage').innerHTML but it hasn't worked. Any idea? Than

[jQuery] Re: What am i doing wrong????

2009-08-02 Thread Joel Polsky
IS that correct sytnax?? On Fri, Jul 31, 2009 at 7:08 PM, Joel Polsky wrote: > Like this? (Which doesn't work) > > $("input[name=PlannedInvitationsOther]").focus(function(){ > > $("input[name=PlannedInvitations][value=Other]").attr('checked','checked'); > } > ); > > > > > On Fri, Jul 31, 2009

[jQuery] plugin: blockui - How to Change cursor style in IE to 'not-allowed' on overlay???

2009-08-02 Thread Marv
I have a DIV blocked from data entry in IE, Firefox, Safari and Opera. Functionally all is okay -- super plugin!!! The only problem left is that the cursor does not change to 'not- allowed' on the overlay when I use IE 6,7 or 8. All other browsers render the cursor okay??? Here's the code:

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-08-02 Thread chris_huh
duh. thanks. but i also realise it is missing the auto rotate thing that could be set up using the tabs function. Is there not a way to use the tabs function with a return false. On Aug 2, 12:27 pm, waseem sabjee wrote: > In the code above you are using hide() instead of fadeOut() etc > > On Su

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-08-02 Thread waseem sabjee
In the code above you are using hide() instead of fadeOut() etc On Sun, Aug 2, 2009 at 12:42 PM, chris_huh wrote: > > I tried that and it didn't work. > > The second code i pasted above works (doesn't jump to top of page) but > it loses the fading ability. > Where as the first bit of code has th

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-08-02 Thread chris_huh
I tried that and it didn't work. The second code i pasted above works (doesn't jump to top of page) but it loses the fading ability. Where as the first bit of code has the fadign but jumps to the top, i don't know where to put the return false statement in that bit of code to prevent it doing tha

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-08-02 Thread waseem sabjee
return false is the standard method and will work no problem :) there is an alternative as well $(document).ready(function(e){ // function becomes function(e) e.preventDefault(); // prevent default behavior and ensure the click is canceled. $('#tabs div').hide(); $('#tabs div:first').show(); $('#

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-08-02 Thread chris_huh
Thanks. I don't know javascript much. Where would i put the return false I have: $(function() { $("#tabs").tabs({ fx: { opacity: 'toggle' } }).tabs('rotate', 5000); }); And i am not using onclick events. I tried using: $(document).ready(function(){ $('#tabs d

[jQuery] Re: Evaluating json problem

2009-08-02 Thread UK
Mike, this was very educative post, thank you very much, it works now. So the bottom line is that ajax call is asynchronous with the code that goes after ajax call (rest of the code is not waitng for the ajax call to finish) and that everything that depends on data returned from ajax call has to