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] 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: [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: 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: 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] 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: 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] 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