Re: [jQuery] Re: jQuery 1.4 change event problem

2010-01-19 Thread Steven Yang
>> body { background-color: #000; font: 16px Helvetica, Arial; >> color: #fff; } >> >> http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"</a>;> >> >> $(document).ready(function(){ >> $("#mySelect").change(function(){ >> a

[jQuery] Re: jQuery 1.4 upgrade + env.rhino.js + blue-ridge

2010-01-19 Thread Steven Parkes
You may want to post to the blue ridge list. I just checked the sample app and it doesn't work with 1.4, though it gives an error rather than not just running the specs. I tried updating the env.js that blue ridge bundles and that fails in a completely different way ... but, then, so does the 1.3.2

[jQuery] jQuery 1.4 change event problem

2010-01-19 Thread Steven Yang
Hi all I apologize if this problem has been post or report. I have a problem using jQuery 1.4 when i use $("#mySelect").change(function(){...my logic...}) This problem only occurs in IE. 6-8 all have the same problem and jQuery 1.3.2 does not have this problem. This problem occurs when I bind a

Re: [jQuery] Re: jQuery 1.4 & LiveQuery

2010-01-15 Thread Steven Yang
Jon what version of blockUI are you using? I think i just ran into similar problem yesterday when i upgraded jQuery to 1.4 and blockUI stopped working. but i solved it by upgrading blockUI to the newest version then everything worked again. i think the newest version was updated some time in Jan 20

Re: [jQuery] Re: Go through XML nodes only 1 level deep

2010-01-06 Thread Steven Yang
just making sure you are not able to parse the xml at all right? i believe for IE you have to make sure you server returns the correct content type like text/xml to client inorder for you to parse hope this help On Thu, Jan 7, 2010 at 9:30 AM, Jules wrote: > For some reason, it works on firefo

[jQuery] Re: Anchor Child Not Responding to Hover

2010-01-02 Thread Steven
I solved it by hiding the span with hide() rather than CSS. Although I'd like to know why straight CSS breaks this while adding display:none; via JavaScript works fine.

[jQuery] Anchor Child Not Responding to Hover

2010-01-02 Thread Steven
I have the following markup: The span is hidden by CSS. I then have the following jQuery code: // Hook close button hover $('a#close').hover( function(){ $('span',this).fadeIn(); }, function(){

[jQuery] $('a:link') Selector?

2009-10-17 Thread Steven
x27;; Fade color: '+fade_cl); }, // Out function(){ } ); Both colors come as undefined; experimentation tells that using "a:link" or "a:hover" as the selector is invalid. How can I grab these colors in context? Thanks, Steven

[jQuery] accessing a microsoft reporting table css classes

2009-10-09 Thread Steven Maglio
answers section (I don't have enough points to update the question). http://stackoverflow.com/questions/1541140/accessing-a-microsoft-reporting-table-css-classes-using-jquery Any help you can give would be appreciated. -- Steven Maglio smagli...@gmail.com twitter: http://twitter.com/smag

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Steven
nk you'd be able to get by changing your first line to: > > $('#pending').live('click', function({ > > > > > > On Thu, Sep 24, 2009 at 12:05 PM, Steven wrote: > > > I was running on 1.2 for some reason. :( Anyway, it works perfectly on

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Steven
.hide(600).load('list.php',{type: 'pending'}).show(600); $('#description').html(pending); }); To load the tables. On Sep 24, 12:59 pm, Charlie Griefer wrote: > Steven: > > It seems to be working here (quick sample thrown together): &

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Steven
I cannot seem to get that to work, although it does make sense. I'm using Ajax to load the tables in; I don't know if that is the cause. I did try it on a static page and it still did nothing though. On Sep 24, 12:36 pm, Charlie Griefer wrote: > $('a.accept').click(function() { >     alert($(thi

[jQuery] Multiple Links, Find which one was clicked?

2009-09-24 Thread Steven
I have a table that looks something like this: Name E-Mail Accept - Deny With multiple rows. Each row has a unique ID (numerical). I need to be able to click on an a.accept, find WHICH one was clicked (which row it is in), and get the ID of that row. I've been looking around and

[jQuery] Re: [Attrib "external" not working...]

2009-09-20 Thread Steven Yang
tryhttp://www.google.com";>google On Sun, Sep 20, 2009 at 7:25 PM, Lord Gustavo Miguel Angel < goosfanc...@gmail.com> wrote: > Hi, > > Why this code not working? > > google > > url www.google.com open in same windows. > > > Thank´s >

[jQuery] Re: ajax xml question

2009-09-17 Thread Steven Yang
I think you might have to check the encoding that google is usingI think google should be using UTF-8. check the encoding on your side. On Fri, Sep 18, 2009 at 2:11 PM, David .Wu wrote: > > But I got one more question > http://www.google.com/ig/api?hl=zh-tw&weather=Changhua > This is the weather

[jQuery] Re: Browser sniffing - the correct way?

2009-09-17 Thread Steven Yang
AFAIK $.broswer is not the way to go in latest jQuery is simply because browser sniffing is not recommended and not the jQuery way of getting things work cross all browsers.and not that because $.browser has problem itself it really depend on why you need to know the different browsers. jQuery rec

[jQuery] Re: selecting elements that match a regular expression

2009-09-16 Thread Steven Black
Try James Padolsey's Regex Selector plugin for jQuery http://james.padolsey.com/javascript/regex-selector-for-jquery/ **--** Steve On Sep 16, 9:34 pm, macsig wrote: > Hello guys, > is there a way to select elements that match a regular expression? > > I have a set of divs with id = "wrap_n" w

[jQuery] Re: Ajax

2009-09-15 Thread Steven Yang
n, Sep 14, 2009 at 9:15 PM, Steven Yang wrote: > >> hi >> this is all i see in the source of your page >> >> Ajax - jQuery Tests > src="<a rel="nofollow" href="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"">http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"</a>;> >>

[jQuery] Re: append script in ajax cross domain on success function is not working.(script not excuting)

2009-09-15 Thread steven
sry about the format, i ll paste it again and make it easy to read. PS: i think i know why it isn't working, i suspect after the success ajax call, the page has already been loaded, and append script to flash div didn't actually run the script. now i am wondering, is it possible to get some script

[jQuery] Re: Easy show()/hide() Question

2009-09-15 Thread Steven Black
The problem is synchronicity. When you add an animation (like "slow" or "fast") the animation process starts but, behind the scenes, subsequent lines of javascript continue to execute during the animation. When you need things in strict order, and you have an animation, use the callback, which w

[jQuery] Re: Jquery document .ready function throwing object expected

2009-09-15 Thread Steven Yang
> > On Sep 15, 3:43 pm, Steven Yang wrote: > > i am not sure what /jquery-1.3.2-vsdoc.jsis for but try putting it behind > > jquery-1.3.2.js > > > > and also putting ui.core.js before ui.datepicker.js > > > > On Tue, Sep 15, 2009 at 6:31 PM, Vardhini wrote

[jQuery] Re: Jquery document .ready function throwing object expected

2009-09-15 Thread Steven Yang
i am not sure what /jquery-1.3.2-vsdoc.jsis for but try putting it behind jquery-1.3.2.js and also putting ui.core.js before ui.datepicker.js On Tue, Sep 15, 2009 at 6:31 PM, Vardhini wrote: > > Hi, > > I'm getting Javascript error "object expected"on PageLoad at the > following line: > > $(do

[jQuery] append script in ajax cross domain on success function is not working.(script not excuting)

2009-09-15 Thread steven
Hi everyone, i recently tried to get some script off a remote server through ajax. After days of searching and trying, i finally had it working apart from appending the script inside the success function of the ajax call, but the append script works outside of the ajax function with a little hack(

[jQuery] Re: Ajax

2009-09-14 Thread Steven Yang
hi this is all i see in the source of your page Ajax - jQuery Tests http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js";>

[jQuery] Re: Intercept javascript event

2009-09-14 Thread Steven Black
One idea: have a look at the Aspect Oriented Programming plugin. See http://plugins.jquery.com/project/AOP and http://code.google.com/p/jquery-aop/ If this isn't exactly what you are looking for, then therin is code to pre- and post-hook existing events. I hope this helps. **--** Steve On S

[jQuery] Re: Get help with wildCard selector

2009-09-13 Thread Steven Yang
i think what you want is $('div[id^=abc-]').size() $('#div[...') means id="div" and something else but you dont have anything with id = div On Mon, Sep 14, 2009 at 11:30 AM, Conrad Cheng wrote: > Dear all, > I have certain div with below format > > > > > > > > I want to get the no of div

[jQuery] Re: jquery resistance at work - advice? OR mvc in js, needed?

2009-09-12 Thread Steven Yang
Hi I am a java guy myself. from what i know some famous java framework has adopted dojo as their default support for their client side tech. And the Struts2 used to include dojo as their native support, now as a plugin i think. I an understand why your java guy is always mvc this mvc that. Its alm

[jQuery] Re: problem xml with jquery IE 8

2009-09-08 Thread Steven Yang
sorry i may be wrongbut until someone has a real solution here's something you can try 1. make your dataType -->dataType: "xml" 2. not sure if the problem still exists in IE8, but IE seems to have a problem determining an incoming data as XML, so make sure your server returns a header that tells

[jQuery] Re: Extending objects with internal objects

2009-09-06 Thread Steven Yang
look here http://docs.jquery.com/Utilities/jQuery.extend#deeptargetobject1objectN the first argument is the deep copy option. check it out On Mon, Sep 7, 2009 at 12:36 PM, roydukkey wrote: > Thanks, that worked. But how di

[jQuery] Re: About jquery append and automatic deleting

2009-09-06 Thread Steven Yang
yeah append actually moves the element. you might want call clone() on the existing element then append the new element created by clone to wherever you want On Sun, Sep 6, 2009 at 3:40 PM, 月讀 wrote: > My English is not weill. > > https://developer.mozilla.org/En/DOM/Node.appendChild > > If chi

[jQuery] Re: No Response Using getJSON

2009-09-05 Thread Steven Yang
try $.getJSON("http://130.216.208.254:10001/all_data.json", getdata); i think you might have confused getJSON with the JSONP result On Sat, Sep 5, 2009 at 9:50 PM, Tony wrote: > > I am using the getJSON command and using firebug f

[jQuery] Re: $.each cannot iterator my array

2009-08-28 Thread Steven Yang
you are doing a very weird thing to an array I guess jQuery detects that myArray is a reall Array. Then it iterate over it by using the "length" attribute. However you didnt actually put anything into the Array "myArray" therefore, you dont get anything. On Fri, Aug 28, 2009 at 3:49 PM, davidshe

[jQuery] Re: Superfish menu help!

2009-08-25 Thread Steven Yang
hi sorry, please correct me if i am wrong or if i over looked at something i didnt see anything superfish includes or event jquery includes but instead i see mootools is the link a demo to your problem?

[jQuery] Re: Jquery + ExtJS 3.0

2009-08-23 Thread Steven Yang
try switching the order of to

[jQuery] Embedded JavaScript Not Loading With .load() Call

2009-08-11 Thread Steven
I'm using this code for my website to load pages dynamically: var hash = window.location.hash.substr(1); var href = $('#nav li a').each(function(){ var href = $(this).attr('href'); if(hash==href.substr(0,href.length-4)){ var

[jQuery] Re: can't return value after $.ajax call

2009-08-10 Thread Steven Yang
by using "var bool = true;"you made "bool" local to your callback and not to your "checkIfUsername" so "checkIfUsername" does not have a reference of bool you have to make bool local to checkIfUsername so you first declare "var bool" in checkIfUsername, then allow your callback to assign it a value

[jQuery] Re: can't return value after $.ajax call

2009-08-10 Thread Steven Yang
if thats the case try function checkIfUsername(o) { var bool; $.ajax({ type: "POST", url: ""+CI_ROOT+"index.php/admin/check_if_username", data: ({username: username.val()}), async: false, dataType: "json",

[jQuery] Re: can't return value after $.ajax call

2009-08-10 Thread Steven Yang
aside from the fact that checkIfUsername does not have a return ajax function is not going to waitwhen you finished calling $.ajax your function has already ended(returned) then when server responded your returnUsernameBool will be called but thats already too late for your alert(bValid) thinking

[jQuery] Re: tablesorter, sort values in anchor as numerics

2009-07-27 Thread Steven Yang
personally i do not understand anything this guy says back to the topic i personally will put an extra/custom attribute in like then $("a") and sort on the "ref" attribute. If not mistaken, there is a sorting plugin somewhere or even in jQuery core. Or you should be able to do it easily On Mo

[jQuery] Re: jQuery Conference Update

2009-07-21 Thread Steven Yang
man envy you guys who can go for some who live and earn a living a Taiwan, its so hard/expansive for me go to. but still hope you guys have a great weekend just dunno if anybody can share the experience on youtube or something?

[jQuery] Re: document.ready - how to make sure all js is loaded?

2009-07-12 Thread Steven Yang
ohoh so even if you do that your myevents.js still doesnt get loaded when document.ready is run? thats weird. I have never run in to problem like that. just wondering is your tag ? or