[jQuery] Detect key event when using Chinese input method

2009-08-08 Thread Shi Zhuguo
Hi there, I am using JQuery to detect key down event, like j.input.bind(keydown, function(e). But when I use Chinese input method, the detection often failed. Can some help?

[jQuery] setData and extraParams problem

2009-08-08 Thread pankaj
Hi All, When I do focus is on the autocompletion textbox, that triggers the function right below where the autocompletion plugin is initialized , which is supposed to add the key=value values to form the remote url. Based on this remote url I am getting the filtered output, which will list out

[jQuery] Re: Attribute selection not working in MSIE; eg $(input[name=name]).val()

2009-08-08 Thread V
Wow, that is strange it indeed works :o The error is; Object doesn't support this property or method But i figured what the problem is because I changed the code; div id=contactform div input type=text name=name value= / /div /div name = $(#contactform input[name=name]).val(); But,

[jQuery] Re: disable column from sorting in tablesorter

2009-08-08 Thread gord007
I already found a solution.. Here is a widget you can use that will accomplish what you are looking for: $(function() { // add new widget called indexFirstColumn $.tablesorter.addWidget({ // give the widget a id id: indexFirstColumn, // format is called when the

[jQuery] Re: jquery(VALIDATE)

2009-08-08 Thread Miket3
James, Thanks for the response. yes, I created a single lookup function rather than having to generate mutiple lookups. Shouldn't be a problem if zorn checks the url for ? prior to attaching his key, value pair to the url. if he doesnt check for it, he will after reading this post ands sees the

[jQuery] Re: jquery(VALIDATE)

2009-08-08 Thread Miket3
Sorry Jorn I spelled your name Zorn. I am using version 1.5.5 On Aug 8, 7:20 am, Miket3 miketro...@gmail.com wrote: James, Thanks for the response.  yes, I created a single lookup function rather than having to generate mutiple lookups. Shouldn't be a problem if zorn checks the url

[jQuery] Cross-browser problem

2009-08-08 Thread Denis Abramov
Hello everyone! I wrote this script and it doesn't work in IE6 IE7 and Chrome, but works in last Firefox and last Opera. In IE it simply doesn't list option/option at all and doesn't react on current_cat variables at all. If i set all current variables to 0 it shows all data, but doesn't react

[jQuery] Cross-browser problem

2009-08-08 Thread Denis Abramov
Hello everyone! I wrote this script and it doesn't work in IE6 IE7 and Chrome, but works in last Firefox and last Opera. In IE it only shows first select options and doesn't list the rest two select options, and doesn't react on click event. In Chrome If i set all current variables to 0 it

[jQuery] jqGrid fully working package

2009-08-08 Thread jqgridguy
Hey guys In celebration of the release of jQGrid 3.5, I've made available a fully working downloadable package that contains everything you need to get started. There's a demo online available at http://www.jqgrid.com http://www.jqgrid.com It contains, in addition to jQuery and jQGrid and

[jQuery] trouble defining post variable when form element is dynamic

2009-08-08 Thread cookie
Hi there, I am having this problem but no real ideas on how to solve it. I have a edit profile form that is loaded using .load. Within it I have a form for editing email addresses with a list of email addresses above it, this is also loaded/reloaded as a callback when a state change in the emails

[jQuery] Create a Treeview with a checkbox

2009-08-08 Thread Michelangelo
Hi guys I am using this plugin (http://bassistance.de/jquery-plugins/jquery- plugin-treeview/) to create a treeview in async mode with Country- Regions-Provinces but I need to use the checkbox for each item. I have added into the code this code: input type='checkbox' name='geo[]' but I suppose

[jQuery] [autocomplete] Missing space character in request

2009-08-08 Thread aw
Hi, Using the autocomplete plugin works fine. But submitted values are trimmed. Is it possible to send data with ending space characters like the escape function in JavaScript? Thanks.

[jQuery] Selecting element where the href contains string

2009-08-08 Thread gray8110
I'm trying to add a class to a li where the href within it contains a string. I can apply the class to the anchor without a problem, but I can't seem to select the parent. Is an anchor a child? lia href=random.xlsRandom Stuff/a/li In this case, since the href contains .xls, I'd like to be able

[jQuery] Re: setData and extraParams problem

2009-08-08 Thread pankaj
Actually this part was working previously.I found one difference here, maybe that help us to find out the actual root cause. Please let me know if any of you are aware of this issue. Here is OLD and NEW difference of calling auto-completion.

[jQuery] Re: Checkbox behaviour

2009-08-08 Thread KeeganWatkins
In general, form selections will persist when the page is refreshed. If you add a random query string like ?foo=bar, you should see your selections reset. In regards to james' comments above, I think it would be far cleaner to reset the form before the page unloads. This is a simple task:

[jQuery] fadeOut in Opera IE

2009-08-08 Thread none
Hi (-: I can't understand how fadeout works in Opera and IE )))-: Two pieces of code: $(p).live(click, function(){ $(this).fadeOut(slow); }); $(tr).live(click, function(){ $(this).fadeOut(slow); }); The first works well in all browsers, but the second in the

[jQuery] Re: Dropdown menu Issue

2009-08-08 Thread Xenongasman
Yes it does work fine, except that the animations will repeat themselves if you move on and off again quickly. So to remedy that I changed the script to: script language=JavaScript $(function(){ $('#menu li').hover( function() {

[jQuery] Error thrown - object is undefined

2009-08-08 Thread jerome
FireBug is reporting this error. Any insight would be appreciated. jquery.js (line 3633) object is undefined [Break on this error] var name, i = 0, length = object.length;\n I am using jQuery 1.3.2 var that=this; jQuery.ajax({ type : POST, dataType : json, url :

[jQuery] Re: Cross-browser problem

2009-08-08 Thread Denis Abramov
I don't know why, but IE6 IE7 and Chrome just ignore these strings: $('#cat1 option').bind(click, function(){current_cat1 = $(this).attr ('value'); call_cats();}); $('#cat2 option').bind(click, function(){current_cat2 = $(this).attr ('value'); call_cats();}); $('#cat3 option').bind(click,

[jQuery] Re: Cross-browser problem

2009-08-08 Thread Denis Abramov
Better code view here: http://www.copypastecode.com/8449/

[jQuery] Superfish Menu - Different Flyout Styles

2009-08-08 Thread pixelwiz
Hi, I really like this Superfish menu (http://users.tpg.com.au/j_birch/ plugins/superfish/#sample3) built with Jquery. But, I need to style it very differently. Does anyone know how to style the sub-menus that fly-out on hover differently? Thanks, -Roman

[jQuery] Re: Superfish Menu - Different Flyout Styles

2009-08-08 Thread Charlie
by "differently" do you mean different than example? or different for each sub level element? if former, you need to work through the css file and adjust to your design if latter, add classes to each sub element and create css rules accordingly, keeping in mind that you'll need to create

[jQuery] Re: Superfish Menu - Different Flyout Styles

2009-08-08 Thread pixelwiz
Ok, here is what I mean: http://zr.tixx4you.com/nav_flyout.asp I almost got it to work, but I can't figure out how to make to Hover class stay on (keep the main menu element highlighted) while the user hovers over the sub-elements. Thanks, -Roman

[jQuery] Re: Superfish Menu - Different Flyout Styles

2009-08-08 Thread pixelwiz
I think I figured it out, had to add one more selector to this (.sf- menu li.sfHover a) .sf-menu li:hover, .sf-menu li.sfHover, .sf-menu li.sfHover a, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active { background-color:#f26921; background-image:url(images/logo_tiny2.gif); }

[jQuery] Re: Superfish Menu - Different Flyout Styles

2009-08-08 Thread pixelwiz
Ok, new problem, looks fine in Firefox, but in IE6 it just looks horrible. Any ideas? http://zr.tixx4you.com/nav_flyout.asp

[jQuery] Jquery Remote Message is not showing up

2009-08-08 Thread chobo2
Hi I am not sure what I am doing wrong I am using the Jquery.Validate plugin and it has a remote field so I did this [code]$(#mainForm).validate( { rules: { UserName: { required: true

[jQuery] Detect Capital Letters

2009-08-08 Thread LindsayT
Random, but probably easy, question: Is there a jQuery function that, given a string, can detect that it's in all capital letters? Lindsay

[jQuery] Questions on animate's callback

2009-08-08 Thread Perceptes
I have two questions about animate. 1) Animate's callback is called once for every element matched against. What's the proper way to handle a situation where you want some code to run only once when all matched elements' animations have finished? In pseduocode: $(this matches 4

[jQuery] Re: Detect Capital Letters

2009-08-08 Thread Michael Geary
jQuery isn't a string library, so you wouldn't be likely to find such a function in jQuery. If you'll be doing much string manipulation, I'd suggest getting familiar with the methods that JavaScript itself provides for all strings. These make it easy to write your own functions for cases like

[jQuery] Detect special Alt characters inside a keypress()?

2009-08-08 Thread Shedokan
How can I detect special alt characters like ♥♦♣♠ inside a keypress() event, so if spotten will return false? thanks.

[jQuery] jQuery.ajax(): reasons to prefer GET over POST?

2009-08-08 Thread Stephan Beal
Hi, all! i'm working on a JSON-based request/response dispatcher system and i've got a small question about jQuery.ajax(): Are there good reasons to prefer GET over POST, or vice versa? In case it makes a difference, my target uses are somewhere in the single- digit KB range (and normally very

[jQuery] demo: hooking jQuery.ajax() in to Firebug Lite

2009-08-08 Thread Stephan Beal
Hi, all! A few days ago i came across: http://getfirebug.com/lite.html which is every bit as cool as jQuery itself (which places it in the top 5 bits of JS code on the planet). On their site they have a link which embeds firebug lite into the current web page. i had to hack on it a bit to make

[jQuery] Re: Detect Capital Letters

2009-08-08 Thread Karl Swedberg
On Aug 8, 2009, at 8:34 PM, Michael Geary wrote: If you want to check that the string contains *only* uppercase characters and no case-less characters (so that ABC would return true but A B C would return false), that would be a bit more work. Shouldn't be too much work. Wouldn't this do

[jQuery] Navigation and sub navigation plugin

2009-08-08 Thread bharani kumar
Hi , I did some navigation menu and sub menu using jquery , like ; Menu1 Sub menu1(some.php) Sub menu2(some1.php) Menu2 (sub menu are hided inside ) I written navigation and sub navigation code in menu2 also ,and also the SUBMENU1 AND 2 jquery status as SHOW() , so i click the Sub

[jQuery] Re: Regular Expression validation

2009-08-08 Thread Karl Swedberg
On Aug 7, 2009, at 2:53 PM, Michael Lawson wrote: yes, you can grab the value of the textbox and match it against a regular expression var reg = new RegExp(/[a-zA-Z]/); if(reg.test(string)) { return valid; } else { return not valid; } Hey Michael, I don't think that regular expression is

[jQuery] Get success respose in ajaxSuccess?

2009-08-08 Thread cohq82
I am using $.ajax in jQuery and I have some thing running in $ ().ajaxSuccess(function(event, request, settings) {}); However I don't know how to get the html as in response of the success callback below: success: function(html) {}); How to pass html over to ajaxSuccess? I know I can insert a

[jQuery] Re: Get success respose in ajaxSuccess?

2009-08-08 Thread Ricardo
Try this: $().ajaxSuccess(function(event,request,settings){ console.log( request.responseText ); }); On Aug 9, 1:19 am, cohq82 quang...@gmail.com wrote: I am using $.ajax in jQuery and I have some thing running in $ ().ajaxSuccess(function(event, request, settings) {}); However I don't