[jQuery] Klaus Tabs plugin & fcckeditor
Hi, I'm using klaus tabs plugin, but I have a problem with fckeditor. I use the tab plugin for a multilingual site, then every language is in a tab, and in every tab there is an fckeditor instance. If I comment the line that initialize tabs I can write in every textarea, if I initialize the plugin only the first fckeditor is wirtable, the others seems to be readonly. Can you help me? bye
[jQuery] ids of elements in a string
hi, i think im blind :/ is there any jquery function or a short way to get a string with all ids of elements? for example $(".list li").allids() output something like that: element1,element2,element3
[jQuery] Sorting a jQuery object?
I need to be able to reorder elements based on criteriaso I tried coming up with a sorting function. I ended up with something along these lines: var myElems = $(mySelector); var temp = myElems.get ().sort (function (a, b) {// sort code goes here}); myElems = $(temp); This seems to work but it got me wondering, is there any sorting functionality built into the jquery core? Would I be able to avoid the second jQuery invokation and the associated overhead (myElems = $ (temp);)? Or is what I've come
[jQuery] tabs remote not completely loading one php program.
I am using Klaus' tab plugin and have created several tabs that invoke different php apps. All load quickly and appear to work, except one. That one works well when I call it directly in the browser. The failing app uses the tableFilter plugin. When going through tabs, in IE it never works and I get an error $d not defined. In FF is sometimes loads and works, but most of the time it doesn't. Any suggestions or thoughts would be appreciated. Rogers
[jQuery] Find: Looks simple, but isn't working as expected...
Narrative: I'm trying to scrape a Wiki page within my company, extract the header text only, then include that into the home page on our Intranet. I thought: easy! I load the Wiki page into separate DOM starting at the Div containing the actual content, find all the 'h3' elements, and for each one, extract the text and append to a Div on my home page. Sounds simple, but for the life of me, I can't get things to work right... 1) the find() isn't working. When it's in, it finds nothing. 2) the empty()
[jQuery] giving element focus through jQuery
I have created a link to add and input box. is there a way to give that element focus like: $('input[@name=customer_ids]:last').focus(); or something or do i have to use plain javascript? -- View this message in context: http://www.nabble.com/giving-element-focus-through-jQuery-tf4497022s15494.html#a12824567 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] BlockUI question
I have been using the blockUI extension for a while and am overall happy with it, but I do have one issue that I would like to resolve with it. As far as I can tell the blockUI extension destroys the element it is using to display as it's message when you unblockUI. This isn't an issue for simple dialog boxes, but I have one dialog in my project that is computed dynamically by the javascript and it's generation can have a rather large overhead. I don't want to have to regenerate this dialog every
[jQuery] Ajax load callback not firing
var ClientSearch = { initialize: function() { $('#start_search').click(this.search); }, search: function() { $('#search_results').load('/searches/create', { query: $ ('#query').val() }, this.hyperlink_search_results); }, hyperlink_search_results: function() { console.log('This code is not being called...'); } }; $(document).ready(function(){ ClientSearch.initialize(); }); The initialize method works. Search gets called and my search results are returned. However, the callback method is never
[jQuery] jQuery and UTF8
Hello, I've got some Japanese text in my MySQL database that shows up correctly through phpMyAdmin as well as when it is loaded directly as HTML. However, when I load it through .load() it only shows up as question marks. Is there an obvious solution? I couldn't find any good info on jQuery and UTF8 when searching. Also, when I try to add Japanese through AJAX it is saved (and returned from the db) like %uD0A4%uC544. Thanks, Chris.
[jQuery] hover popup div / cluetip type tool?
I have a need for a tooltip like popup div. However, I need to be able to interact with the content of this popup, and the popup should close when the mouse moves out of it. Basically, I'm bringing up details for a user to view, and/or edit. The page in question will have hundreds of these trigger areas on it, so I need it to be smart about when it pops up - think hoverIntent here. (It's a BIG scheduling tool for an internal app - think of a grid with each cell containing summary information....).
Forum RSS plugin
Hi there, Really pleased someone has set up a forum. Could I make a request and ask for you to install the following plugin so that new posts are published in an RSS form as well. When combined with the Google Groups we'll have an excellent source of jQuery goodness =] http://www.phpbb.com/community/viewtopic.php?t=144548&sid=2000ef3937986ddfd749c97adb8759e3[/url]
jQuery UI Announced
http://jquery.com/blog/2007/09/17/jquery-ui-interactions-and-widgets/ The jQuery team announced the release of the brand new jQuery UI library this past Monday. In particular, I like Draggables and Resizeables. Full documentation is available.
[jQuery] get text of a element, but without children text
<ul> <li> text1 <ul> <li>text2</li> </ul> </li> </ul> when i use $("ul li").text() i got a string containing both "text1" and "text2", how can i just get the string "text1". thanks in advance.
[jQuery] jQueryHelp Forum Launched
Just an FYI for everyone, I've launched a jQuery Forum to offer an alternative method of discussion. "The purpose of this forum is to offer the quickest form of topic based conversation for jQuery users. Currently, there is only a mailing list which offers latent responses, but does have the largest user base and is a great resource. Though, there have been many requests for a forum so I have happily taken the initiative to set something up. Hopefully we can grow as a community here and help each
[jQuery] IE and .ajax(). No Exception, No Results
In IE 6 and IE 7 do not provide any exceptions and/or results when running the following. Any ideas or advice is appreciated. <html> <head> <title>Parse XML with JQuery</title> <script language="javascript" src="jquery-1.2.1.js"></script> <script language="javascript"> $(function() { $.ajax({ type: "POST", url: "books.xml", dataType: "xml", success: function(xmlData) { xmlDataSet = xmlData; buildHTMLFromXML(); } }); }); function buildHTMLFromXML() { resultSetLength = $("book",xmlDataSet).length;
[jQuery] Still trying to understand index function
My understanding of the index function was that it takes an OBJECT to match in a list of same type objects so as a trivial example $(document).ready(function(){ var firstPara = $("p#first").get(); alert($("p").index(firstPara)); }); with the following : <body> <p id="first">First para <p id="second">Second para </body> seemingly should work... It does not. Just looking for some advice so I can move on to finding indexes of classed <th> and do some interesting things I have in
[jQuery] Help on clue tip
can we call clue tip in click, change etc events or in other function ...if so then please tell me the way to do it
[jQuery] two listboxes(LB) drag names from LB one drop into LB two
Sooting for the moon here, but does anyone have a method for selecting and dragging content from one list box to a second listbox? Frank
[jQuery] hide() question
Please can you tell me how to achieve that: I want to have element that is hidden initially and I want to display it with fade effect when the page loads. If I create a div with display: none, or visibility: hidden i don't get any results. Please help.
[jQuery] What's next?
Is there anything roadmap for 1.3 / 2.0 or UI 1.1? (maybe we can call it the dead map for other js libs -.-|| )
Welcome!
If you have any good suggestions for this community, by all means, post it here!
[jQuery] post data and get data in one request?
Hello, this is probably something very simple, but I don't get it. I want to post data to a php file that send the posted data to the DB. Then I would like to return the last inserted ID and use that on the same page the request was made from. How is this done? I know how to post and how to get, but not in the same request. Do I have to use Ajax? Maybe it's a little clearer if I mention it's for writing tags to the DB Flickr style. Need help! ;-)
[jQuery] Validate plugin and alphanumeric passwords
Hi! has anyone written a validator for a minimum length and alphanumeric password for the validator plugin? Thanks
[jQuery] Get time of ajax post?
Hey all, This is more of a JS queston in general than a jQuery question: how do I get the time it took for an ajax post to complete? I am trying to show a progress bar for an ajax post which may take anywhere from 1 to 20 seconds. It's a multi-row database table update. To do this I'm using the "guesstimate" pattern described here: http://ajaxpatterns.org/Progress_Indicator To improve the accuracy, I'd like to do a "dummy" ajax post to the server, get the amount of time it took, and use that to calculate
[jQuery] Superfish - pathclass question
Hi, I'm currently using the pathclass version of the JQuery Superfish plug- in to breadcrumb trail throughout a new site I'm building. Here's a direct link to the beta version: http://www.aceconcrete.com/revised/ The client has requested that once the user selects a link from the menu, the hovering animation stops. So basically the homepage is the only page that displays the superfish hovering effect. The rest of the pages are to hold the breadcrumb the active page tier and "current" styling. Is
[jQuery] .load() problem
Hi, I load a dynamic response from server with this code: $(document).ready(function() { $('.editPlayList').click(function(){ $('#targetList').empty(); var qLink = $(this).attr('href'); $('#targetList').load(qLink); return false; }); }); The code is generated and injected in the target div but: 1) onclick the firbug console launch more than 20 request and not only one!!!!!!!! 2) The response in firebug remains white and code injected do not
[jQuery] NEWBIE QUESTION: Catch Select event
Hi, I would like to catch the select event when a user changes the select item in any <SELECT> in a form. Something like: $("select").select(function() { //do some stuff here... )}; Is this feasible?
[jQuery] Handling timeouts with jsonp ajax requests
Hi, How jQuery handles timeouts on jsonp requests ? Does it call the error callback ? something else ? Basically a request like this one... [....] $.ajax({'url' : url, 'data' : params, dataType : 'jsonp', timeout: 2500, success : callback, error : callback}); <br clear="all">[....] ... does not seem to call the error callback when during more than 2.5 sec Any help would be welcome :-) thanks -- Matthias ETIENNE
[jQuery] Help needed with Interface elements Autocomplete
Hi guys, I'm playing around with the Autocomplete function of jQuery Interface elements (http://interface.eyecon.ro/). Now I've managed to put all the pieces together except one... i.e. when you start typing in the autocomplete field, the data is being sent to the ajax backend - but I can't figure out what variable to look for in the backend to grab that data and match it with the autocompletion list. My field is a country names field and the backend contains an array with all the country names.
[jQuery] jQuery 1.2 - Serialize a form as JSON
Hello, I'm trying to serialize a form with select-fields defined as multiple, e.g.: ~~~~~~~~~~~~~ <select multiple="multiple" name="test[]"> <option value="one" selected="selected">One</option> <option value="two">Two</option> <option value="three" selected="selected">Three</option> </select> ~~~~~~~~~~~~~ When I now try this: ~~~~~~~~~~~~~ $("select").serialize(); ~~~~~~~~~~~~~ or this: ~~~~~~~~~~~~~ $("select").serializeArray(); ~~~~~~~~~~~~~ I get an empty string resp. array. But I should get
[jQuery] element.css("background") returns undefined
Hi, I'm playing around with css manipulation and I encountered strange problem. jQuery("#someElement").css("background") (or background- position) returns undefined, no matter if background-position is set or not :] background-image, background-color work fine :) Peter
[jQuery] OT: Missing Images in IE7
Hi I am building dynamic in Chess boards in jQuery over at 64squar.es. However - in IE7 - sometimes the piece images (and in fact the rest of the images) only partially load. I can't find any www documentation on this 'feature' - does anyone have any ideas why this might happen or how to prevent it? It occurs for background images and img tags - prerendering in the HTML doesn't make a difference. weepy *...(
[jQuery] Validate plugin and attribute selector values with [square brackets]
Hi all, I thought I'd give you all (and Joern also) a heads-up on a problem I've been having. I use the validate() plugin on forms whose tags have names like 'user[email]'. The 'rules' option to validate() has no problem with this, but I've now started passing an array of server-side errors to showErrors() which then fails. The reason is that on line #538 of jquery.validate.js v1.1, the selector resolves to <span style="font-family: courier new,monospace; background-color: rgb(255, 255, 153);">jQuery("[@name=user[email]]")</span>
[jQuery] is there any way to create common object for all checkboxes?
I've multiple checkboxes of different type on my html like <div class="category_A"> <input type="checkbox"> a1 <input type="checkbox"> a2 <input type="checkbox"> a3 <input type="checkbox"> a4 </div> <div class="category_B"> <input type="checkbox"> b1 <input type="checkbox"> b2 <input type="checkbox"> b3 <input type="checkbox"> b4 ..... </div> <div class="category_C"> <input type="checkbox"> c1 <input type="checkbox"> c2 <input type="checkbox"> c3 <input type="checkbox"> c4 ..... </div> I'm creating
[jQuery] is there efficient way to create common object for all checkboxes?
I've multiple checkboxes of different type on my html like <div class="category_A"> <input type="checkbox"> a1 <input type="checkbox"> a2 <input type="checkbox"> a3 <input type="checkbox"> a4 </div> <div class="category_B"> <input type="checkbox"> b1 <input type="checkbox"> b2 <input type="checkbox"> b3 <input type="checkbox"> b4 ..... </div> <div class="category_C"> <input type="checkbox"> c1 <input type="checkbox"> c2 <input type="checkbox"> c3 <input type="checkbox"> c4 ..... </div> I'm creating
[jQuery] Closing a thickbox from within a Flash movie
I have been asked to update a website that provides help to the user by opening up Flash videos in popups when the user clicks a link. The Powers That be want them to open in the page itself, so I've decided to use a thickbox that links to a HTML page with the flash movie embedded in it. This works well and the results are a definate improvement over the popup windows, but I do have one question. It may be desireable for the thickbox to close itself when the video in the Flash player comes to an
[jQuery] Adding extra functions to newsticker plugin
Hi, I'm trying to learn jQuery. Plugins are definitely very helpful. But I can't add an extra function to <a href="http://www.texotela.co.uk/code/ jquery/newsticker/">newsticker</a> plugin. I want to add "next", "prev" links to make slides more flexifle for users. When a user clicked next button the slide must immediately go to nextone... Thanks from now...
[jQuery] $(document) bug?
Hi, I just downloaded the latest version(1.2) and the $(document) object doesn't seem to be functioning. I tried the new $(document).height() which always returns 0 (zero) for me and binding the resize event isn't working for me either. The code: $(document).height(); $(document).resize(function(){ alert("Stop it!"); }); Is this a bug or am i missing something? :) thanks, Hans
[jQuery] Is there any better way to do that?
It's my first script using jQuery. $(document).ready(function(){ $("a").filter('.showPrices').toggle(function(){ $("."+this.id).slideDown('slow'); $("."+this.id).addClass("singleOffer"); },function(){ $("."+this.id).slideUp('slow'); }); }); <a href="javascript:;" class="showPrices" id="price_123">show/hide prices</a> <a href="javascript:;" class="showPrices" id="price_124">show/hide prices</a> .... <a href="javascript:;" class="showPrices" id="price_2354">show/hide prices</a> <div class="price_123"
[jQuery] OT: Combining JS files for production releases
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
Next Page