[jQuery] Re: Digg JSONP API seems to have problem with $.getJSON implementation

2009-07-24 Thread Samyak Bhuta
Just wondering if it is not worth a notice ? On Jul 24, 7:28 pm, Samyak Bhuta wrote: > Hi Everybody, > > I was trying to accessDigg'ssearch API with $.getJSONas well as > with Twitter and Identica. > > Although, the twitter and identica search api are working fine, I have > found trouble when it

[jQuery] Validating autosuggest output

2009-07-24 Thread anush
I have a form with a location field. The selection of the location value happens through the autosuggest box. When I choose the location, I also show the location information below the field using the show/ hide feature. If the user is choosing the location via dropdown, I have no issues. But if

[jQuery] how to delay operation

2009-07-24 Thread bharani kumar
Hi , Am doing one support ticketing systems, user submit his problem through form , my task is after submitted , i want to send his ticketID . to his mail , for track the supprt request , The ticket ID not and sequential order , its random order , So my idea is we write one mail function , af

[jQuery] Re: How can I keep the overlay in jQuery UI dialog longer than the modal window?

2009-07-24 Thread Rick Faircloth
Anyone have any idea about this? I thought about perhaps determining the height of the modal window and then comparing it to the body height and using whichever is greater as the overlay height.is that possible with js? From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] O

[jQuery] Sortables - accessing elements in each container

2009-07-24 Thread tecmo
I have some sortable div containers numbered 1 to 5. I would like to keep the input boxes in order (1 to 5) even while dragging and resorting. I've made code to plus/subtract upon a rearrange and that works if used properly. If you drag violently though, you can get the order out of whack. May

[jQuery] Re: Which editor is best for inplace HTML

2009-07-24 Thread Donny Kurnia
Steve Hueners wrote: I'm hoping someone can help me narrow down the field according to these priorities... Stability & Well-formed XHTML Inplace editing Good AJAX integration For internal / admin / CMS usage so size doesn't matter Only need the basics: bold ital indents lists No need for

[jQuery] How can I keep the overlay in jQuery UI dialog longer than the modal window?

2009-07-24 Thread Rick Faircloth
If the body of the page on which the modal window overlays is shorter than the dialog window, itself, then the overlay is cutoff. I want the overlay behind the modal window to extend beyond the window even if the body of the document is shorter than the modal dialog. Make sense? Rick

[jQuery] Re: Using a load function with a post

2009-07-24 Thread James
According to the documentation for $.load: http://docs.jquery.com/Ajax/load "if you pass in any extra parameters in the form of an Object/Map (key/ value pairs) then a POST will occur. Extra parameters passed as a string will still use a GET request." Using serialize() will pass the data value i

[jQuery] Which editor is best for inplace HTML

2009-07-24 Thread Steve Hueners
I'm hoping someone can help me narrow down the field according to these priorities... Stability & Well-formed XHTML Inplace editing Good AJAX integration For internal / admin / CMS usage so size doesn't matter Only need the basics: bold ital indents lists No need for tables but dropdowns wi

[jQuery] Re: treeview, can only let "+""-" expand tree?

2009-07-24 Thread Mario Soto
Renewind this post. I have the asame problem. If any knows the solution, please post, or guide to proper answer. Thanks.

[jQuery] Draggables and offset

2009-07-24 Thread littlerobothead
I've built an expanding HUD control for a map in a project. I've got it expanding, and, using some code from this group I have it avoiding the edges of the viewport on first resize. The problem is that it doesn't seem like an object updates its position when you make it draggable with the jQuery U

[jQuery] Re: GPL version of jQuery

2009-07-24 Thread Alexey Chernov
Brilliant! Thank you very much for the information and also big thanks for such a good library ) On 24 июл, 03:54, "Michael Geary" wrote: > You don't need to worry about that at all. > > jQuery is also licensed under the MIT license, a much more liberal license > than GPL. > > Simply use jQuery

[jQuery] Re: can't get textarea field value using jquery rte plugin

2009-07-24 Thread marksimon
Nevermind. I'm stupid.

[jQuery] Re: Listnav initial display of no items?

2009-07-24 Thread rubycat
Thanks for the response and explaining it to me. Alas, I'm not having any luck. Using your exact example (both CSS and JS), the items associated with the first navigation item are still being displayed (the 0-9 option) on initial page load. I even disabled cookies while testing. :-(

[jQuery] Jquery Column Manager

2009-07-24 Thread Leandro Tuttini
hi, I am using column manager plugin, Did somebody use this plugin ? http://p.sohei.org/jquery-plugins/columnmanager/ I am having a problem when work with nested tables. I can post a example where I have the problem, if somebody can help me. greetings

[jQuery] Re: Test - please ignore

2009-07-24 Thread Anoop kumar V
Thanks - but if you really should, then please acknowledge my actual posts: http://groups.google.com/group/jquery-en/browse_thread/thread/130b4df144c2e0b9 I would much appreciate any help you could provide.. :-) -Anoop On Fri, Jul 24, 2009 at 12:26 PM, Liam Potter wrote: > > no, I will acknow

[jQuery] can't get textarea field value using jquery rte plugin

2009-07-24 Thread marksimon
Hi. I'm using this plugin: http://code.google.com/p/lwrte/ for a lightweight text editor. I want to be able to submit without a page reload and I can't seem to figure out how to override whatever code the author created to disable the value of the text area field unless the form is formally submit

[jQuery] Re: clone() + Sortable and Draggable

2009-07-24 Thread Jérôme GRAS
No problem for the delay, thank you for your response. I may be away for a while but I'll try to test and investigate as soon as possible. I will keep you updated. On Fri, Jul 24, 2009 at 16:16, Mean Mike wrote: > > its because you need to make it live so that when new items with the > same clas

[jQuery] Re: Test - please ignore

2009-07-24 Thread Liam Potter
no, I will acknowledge! anoop wrote: Test - please ignore

[jQuery] Test - please ignore

2009-07-24 Thread anoop
Test - please ignore

[jQuery] Re: Listnav initial display of no items?

2009-07-24 Thread Jack Killpatrick
Like this: #alphalist { display:none; } $(function(){ var clicks = 0; $('#alphalist').listnav({ includeAll: false, cookieName: 'xalpha_list', onClick: function(){ clicks++; if(clicks == 2){ $('#alphalist').show();

[jQuery] Re: listnav letter question?

2009-07-24 Thread Jack Killpatrick
Hi Keith, Glad you like the plugin. I missed your original post, but just spotted this one. Your change looks good, that's where I would have done it, too. I'm having a little trouble picturing your use case, though. Do you have an example anywhere or could you explain it a little bit more? I

[jQuery] Using Queue

2009-07-24 Thread shaf
Hi Guys I have 4 scripts I want to load and insert into the html. So the script should download and insert the first and then the second and so on. How can I do this in such a order ? From my research it looks like a queue is the best option for this. Is this true ? If yes, how do I go about to d

[jQuery] Iframe Scroll

2009-07-24 Thread FrenchiInLA
I tried to open a iframe with a definite position. Let’s say I have an iframe like: http://google.com"; width="350" height="350"> And I’d like to scroll at the position X,Y of google page. I tried scrollTop, scrollLeft and even the plugin scrollTo to no avail. Can I make $(‘#frame’).scrollTo(30

[jQuery] Re: Form values getting unsynchronized after ajaxsubmit [validate]

2009-07-24 Thread Anoop kumar V
Attached an html - that shows my situation... In the page - clicking on any region opens the pop-up form, and once in a while after you submit the pop-ups are mixed up, you see Newyork details for the Washington tab etc. But as soon as I click on the reset button, it rectifies itself... Can someb

[jQuery] Re: jquery ui dialog get element from button

2009-07-24 Thread Carlo Landmeter
Hi Mike, Yes its working now. Now that i understand that part and looked at the api again i saw: Get or set the buttons option, after init. Glad I get that fixed. Thanks for your help! I think if i play more with jquery things get easier for me to understand. Carlo On Fri, Jul 24, 2009 at 2:

[jQuery] jQuery validation on 3 select box

2009-07-24 Thread c.sokun
Hi there, I had a form where I need user to input the their birthdate: 1 ... Jan ... 1980 ... How do I write custom validation rule to check if user had selected appropriate input? And which control should I assign the rule on? Thanks.

[jQuery] Using a load function with a post

2009-07-24 Thread Anthony Smith
I am unsure as to how to make this work. var params = $('form#createAdjForm').serialize(); var url = "url(array('controller'=>'create-adjustment', 'action'=>'index'))?>"; $('#form').load(url,params); I want my data POSTed but it is still sent as a get. What am I doing wr

[jQuery] Digg JSONP API seems to have problem with $.getJSON implementation

2009-07-24 Thread Samyak Bhuta
Hi Everybody, I was trying to access Digg's search API with $.getJSON as well as with Twitter and Identica. Although, the twitter and identica search api are working fine, I have found trouble when it come to accessing Digg API. The case in point URL : http://services.digg.com/search/stories?qu

[jQuery] Re: clone() + Sortable and Draggable

2009-07-24 Thread Mean Mike
its because you need to make it live so that when new items with the same class show up they become sortable. I've never used live with sortable so you might need to investigate further but I think this will work $(".liste_champs")live("sortable", function(){ revert: true, connectWith

[jQuery] Re: (validate) IE6 odd focus behavior

2009-07-24 Thread Jörn Zaefferer
I've seen that, but had no idea what caused it. Your help with localizing the issue is very welcome. Jörn On Fri, Jul 24, 2009 at 3:44 PM, jckos wrote: > > I'm using the validate plugin on a form and in IE when I click right > above the second required  field the cursor focus is between the labe

[jQuery] (validate) IE6 odd focus behavior

2009-07-24 Thread jckos
I'm using the validate plugin on a form and in IE when I click right above the second required field the cursor focus is between the label and the form field. It looks like you are typing outside of the form, in between the and . I validated the html of the form. It looks like it only happens

[jQuery] Re: How to deterine number of words in a string?

2009-07-24 Thread Raju
Hi i want a jquery plugin to view word files, can somebody help me out in this regards Warm Regards, Mari Raj K, Bangalore +91 9916140688 On Fri, Jul 24, 2009 at 3:49 PM, Liam Potter wrote: > > you don't need a plugin, this will do it > > var string = $("span.string").text(); > var count =

[jQuery] Re: Insert SWF using JS

2009-07-24 Thread nitin
Hey shaolin, the better way doing this is using the swfobject script which is much easier to implement and has better integration with javascript/ajax interaction with flash. ~nitin On Jul 24, 12:38 am, shaf wrote: > Hi Guys > > I have some JS that flash cs4 generated when I published my swf

[jQuery] Form Elements . button with jQuery

2009-07-24 Thread toshinori
Hi , I have problem with Form in HTML . I cannot access button like this HTML PART $(function() { $("form#myForm-DISABLED").jqTransform(); }); I h

[jQuery] sortable bug in ie7

2009-07-24 Thread amsele
hi guys. someone have a solution to the following problem? im using the sortable ui and when i sort some divs (bug is just in ie7 or below, in ie8, ff or somewhere else it works) the dragged div disappears. seems is is a sort of render problem cause when i perform a right click (contextmenu ope

[jQuery] How to load innovaeditor dynamically using jQuery AJAX

2009-07-24 Thread Poul_Erik
I have tried and contacted www.innovastudio.com about how to load their Editor dynamically by using jQuery Ajax.I have 3 files: Default.asp - ajax.js and a request page editor.asp What I have tried: By rendering ajax.js in default.asp I try to the load the editor in a in default.asp I can't get

[jQuery] Re: Loop with mouse enter / leave events: help needed !

2009-07-24 Thread nitin
hello EE, the problem here that you have positioned the background 24px from the top, so the button though looks till the image ends, but the actual div container which reads the mouseenter and mouseleave ends at the middle of the button image itself. as deltaf said, install the firebug add-on i

[jQuery] Re: Selector help needed

2009-07-24 Thread Michael Lawson
Links that have inner "active" links? $("a:has(ul li a.active)").css("active"); i think that'll work if i understood you right cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'Whether one believes in a religion or not, and

[jQuery] Re: Selector help needed

2009-07-24 Thread iceangel89
sorry the code is Link 1 Link 2 Link 2.1 Link 2.2 On Jul 24, 9:20 pm, iceangel89 wrote: > with the markup like: > >
    >    
  • Link 1
  • >    
  • >         Link 2 >        
      >        

[jQuery] Selector help needed

2009-07-24 Thread iceangel89
with the markup like: i want to add a class "active" to , Link

[jQuery] Re: listnav letter question?

2009-07-24 Thread keith . westberg
Ok... I think I got it. I tweaked the addClasses function to eval a list items attribute instead of the text value. I'm using the attrib LANG for now. I populate this server side with either the first character of the persons firstname or lastname depending on what order was selected on the

[jQuery] Re: How to deterine number of words in a string?

2009-07-24 Thread Liam Potter
Yeah, if you need an "all situation" plugin there would be a lot more to add, but if you can guarantee each word will be separated by a space it will be fine, if not it will just be an approximate number. you would need to use regex to find all punctuation (except quotations), check if there i

[jQuery] Re: find() not working in Firefox

2009-07-24 Thread Sourabh
Thanks for your help Ok I have a scenario like this - I have an array with ['origanal html' ]['html to be replaced ] This array will be available to me when the page is loaded. Now I have a HTML page (DOM or DOM container element) in which I need to search the ['origanal html' ] and replace

[jQuery] Re: jquery ui dialog get element from button

2009-07-24 Thread Mean Mike
ok sorry for the delay, been kind of busy. Your problem is this ... the var somevar is defined in the click function and your are trying to use it in the constructor for the dialog therefore it is out of scope and not defined. This wouldn't work even if you made the var global because you must wr

[jQuery] Re: How to deterine number of words in a string?

2009-07-24 Thread Liam Byrne
Assuming that people entering the string leave spaces after punctuation - commas, full-stops, exclamation marks, etc I've often had to tweak routines like this because people didn't. Depends on how accurate you need it, though; the code below will be thrown slightly by dashes, em-dashes

[jQuery] Re: find() not working in Firefox

2009-07-24 Thread Liam Byrne
I could see that being VERY slow $("p").each(function() { if ($(this).text()=='When the day..believing') { $(this).replaceWith('chota'); return false } }) would work, but I wouldn't recommend it. Anyway, why would you want to do this, and how would you manage to ge

[jQuery] Re: How to deterine number of words in a string?

2009-07-24 Thread Rick Faircloth
Is it as simple to do a letter count? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Liam Potter Sent: Friday, July 24, 2009 6:53 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: How to deterine number of words in a string?

[jQuery] Re: Tablesorter problem when moving columns around SOLVED

2009-07-24 Thread StephenBungert
Hello all, I solved this problem by making a new trigger which I call after moving the columns around: .bind("colOrderChanged",function() { $headers = buildHeaders(this); var sortList = config.sortLi

[jQuery] Re: Listnav initial display of no items?

2009-07-24 Thread rubycat
Yes, the little treasure is your plug-in!! Um, I hit a deadend though. But it's not you, it's me! I don't quite understand where to put this stuff--am I to add it to to this? $(function(){ $('#alphalist').listnav({ includeAll: false, cookieName: 'xalpha_list' }); });

[jQuery] find() not working in Firefox

2009-07-24 Thread Sourabh
Hello all, Below code works well for IE but not for firefox due to newlines present in the html source.Can anybody help me making this work in FF.It works well in IE6 http://code.jquery.com/jquery-latest.js";> $(document).ready(function(){ $("body").find("p:contains('When t

[jQuery] Tablesorter problem when moving columns around

2009-07-24 Thread StephenBungert
For an app I'm making I have a table with one always visible column, then you can view 5 more, any extra columns are hidden. The 5 are selectable so that you can choose which 5 you want to see. This all works great except that I need to move the columns so that the order of the columns is the sa

[jQuery] Re: How to deterine number of words in a string?

2009-07-24 Thread Liam Potter
or if you really do want it as a plugin Plugin: (function($){ $.fn.stringCount = function() { var string = this.text(); var count = string.split(" "); var result = count.length; return result } })(jQuery); Use: $(function(){ alert( $("span.strin

[jQuery] help with an animation effect

2009-07-24 Thread Sir Rawlins
Morning all, I'm looking for some help with an animation effect and your thoughts on how best to achieve it. At this stage we simply have a graphical representation, we can splice the images up any way we like, I'm really looking for your suggestions. The first stage is just the basic static obj

[jQuery] Re: How to deterine number of words in a string?

2009-07-24 Thread Liam Potter
you don't need a plugin, this will do it var string = $("span.string").text(); var count = string.split(" "); alert(count.length); Conrad Cheng wrote: Hi all, Any jquery plugin can check number of word in a string instead using of .length?... Many thanks. Conrad

[jQuery] Re: Make width of inner div equal outer

2009-07-24 Thread Paul Collins
Excellent, works a treat, thanks Eric... 2009/7/23 Eric Garside > > $('.secondLevel').css('width', $('#header').width()); > > On Jul 23, 1:16 pm, Paul Collins wrote: > > Hi all, > > I've got a problem with IE6 and I need to basically find the width of the > > "header" DIV and make the "secondLe

[jQuery] How to deterine number of words in a string?

2009-07-24 Thread Conrad Cheng
Hi all, Any jquery plugin can check number of word in a string instead using of .length?... Many thanks. Conrad

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-24 Thread Abraham Boray
well wot I'm doing is an ajax call to retrieve my json data . then i want to parse it & show all the records in the "#postContent". but wot is harder here is the fact that in my jason file there are three objects at the same time returned by the query. Posts/Category/Comment The Categorystruct

[jQuery] Re: Need to validate Multiple email IDs with Comma Seprated

2009-07-24 Thread Kuo Yang
With pleasure. My English is not so good,so I paste the code directly: //copied from http://www.webtoolkit.info/javascript-trim.html function trim(str, chars) { return ltrim(rtrim(str, chars), chars); } function ltrim(str, chars) { chars = chars || "\\s"; return str.replace(new RegEx

[jQuery] Re: Toggle Div Based on Value

2009-07-24 Thread Liam Potter
This should work fine $(document).ready(function() { $("#directors input[type='checkbox']").click(function() { $('span.RelStatus').each(function() { var RelStatusValue = $(this).find("span").text();

[jQuery] Re: switching jquery tabs in code behind(C#)

2009-07-24 Thread noorul
Hi karngu, Here is the one of my tab: Can you send me the javascript to select this tab.. All On Jul 24, 1:38 am, karnqu