[jQuery] populating table on scroll
there are plugins that show a table of results and if you scroll to the enf it fetches more results. I was wondering if someone knows which part is responsible for triggering the load? Is there some jquery ifScrollEndReached() event? I doub t it ;P
[jQuery] IE7 Issue, Imagine that
Hi Guys, I'm having a problem with IE7 and a form. It probably has something to due with my html but, I'm hoping someone can lend a helping hand. The issue is, when I try to use the login button or hit enter in IE, it will submit the form to the login.php and return my xml file as though there is no ajax happening. Here's my jQuery code and HTML form -- <script type="text/javascript"> $(document).ready(function() { $("#cust_login_frm").submit(function() { //grab form fields //and
[jQuery] Unexpected $.post behavior on receiver page
This is really weird. I think it has something to do with our Apache configuration but I'm not sure, I've done a lot of hunting but am still unable to resolve. We just moved from a PHP4 webserver to PHP5. The page that listens to my ajax queries (ajax.php) no longer is able to acquire or see data from post, I'm sure it's a configuration thing, but I can't seem to find it. GET works fine, but in this instance I gotta use post because there's a potential for a ton of data to come to this page. Here's
switched from interface to jquery ui.
I cannot get the dropOnEmpty to work. What options have to be used in order for dropOnEmpty to work? $('#content').sortable( { items: '.sortItem', accept: 'sortItem', helper: 'helper', opacity: 0.7, placeholder: 'sort_placeholder', connectWith: ['.col2','.col3'], dropOnEmpty: true, revert: true }); Not sure why
[jQuery] Html/Ajax/JQuery page won't load video player when page is reloaded
Hi all, I'm loading a video player into a div on page1 using <script src = "player location and attributes" type ="text/javascript"></script>. It works fine when the page firsts loads...however when I go to another page (page2) and click the link to go back to page1 i don't see my video player anymore. I'm using JQuery for page animation. Can someone help me please?? Thanks
[jQuery] To combine JS or not?
We're working on a CMS which will allow third party developers to create extensions for the system (modules). We want to allow developers the use of a UI Toolkit; which will comprise of pre- installed versions of the jQuery UI framework and other jQuery plugins they may find useful. To keep the JS loading time as small as possible the developer will specify which elements of the UI library they will need (see the download builder), and the system will then output only the JS their module really needs.
[jQuery] Unbindings
I have a web app with several event listeners. Some listeners should remain active the entire length of the application. I know Google maps API has a function for cleanup on page unload. Is there a way to mass remove listeners in my jQuery app? Does anyone else have an app they are concerned about browser leaks with or are you confident JS's garbage collection is sufficient?
[jQuery] Tablesorter + custom sort + header definitions = 'name.toLowerCase' not a function
Much like this guy http://groups.google.com/group/jquery-ui/tree/browse_frm/month/2007-10/c122613777588df9?rnum=191 If i have a custom sorter defined like $.tablesorter.addParser({ id: 'SortAccount', is: function(s) { return false; }, format: function(s) { return s; //just this for now until i get by the issue }, // set type, either numeric or text type: 'text' }); If i wire up the table sorter like $("#MyTableID").tablesorter(); all is good but if i try $("#MyTableID").tablesorter({ headers: { 0:
[jQuery] getting text in between text nodes
I'm trying to get various pieces of data from a text node. It makes sense to me to use children and how to get parents, but how do you get the text in between text nodes? Example Code: <p id='1'> example text <span id='2'>In side a span</span> More text <span id ='3'>Another span</span> end of example text I need to get the code in between the two span's. If I do "$ ('p').children();" I'd get the span tags, but not the other text. My current thought is to get the html() of the p tag and split it
[jQuery] detecting a cookie based on another domain
Using Klaus' cookie plugin, could anyone tell me how to check for the existence of a cookie that's been set by another site? Here's where I'm at at the moment: if ($.cookie('my_cookie', {path: '/', domain: 'alternate.domain.com' })) { $('#loginOut a').attr({"href": "http://alternate.domain.com/ logout.aspx"}).text("Logout"); }; My problem is that this is setting a cookie for me at my own domain. Thanks Steve
[jQuery] Why does $('a').css('color'); return rgb values?
At least in Safari and FF it does...is there something I'm doing wrong that is causing this to happen? Is there some other variable I need to set this straight? Shouldn't it return whatever value I have set previously (which is a hex value in my case)? ??? Thanks -- View this message in context: http://www.nabble.com/Why-does-%24%28%27a%27%29.css%28%27color%27%29--return-rgb-values--tp18735995s27240p18735995.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Problem with queue of jquery commands
Hello, I'm trying to do a kiosk software based on Firefox+LAMP+jQuery. Basically is a web page showcase with fixed header and footer and some pages in loop. You can browse pages with the numpad's keys: 0: pause flow 1: scroll down a bit 2: back to the top 3: scroll up a bit 5: go to a certain page 7: go to a certain page 8: go to a certain page 9: go to the next page The url of the software is http://195.182.241.253/demo/ Seems like everything works fine but when you play with the keys seems like
[jQuery] Reload DOM When inserting new elements.
Hi! I have an ajax application written with jQuery. I usually insert new HTML elements and do something with that response, so I have to make 2 functions: one inside the document.ready declaration and the other outside. Is there a way to reload the DOM structure to the jQuery object when I insert new elements to my page, just to avoid the double declaration of my functions? Thanks in advance.
[jQuery] Why wont $(this) work
Hi, I have a table with input fields, i'd like to autocomplete the values...it all works until i added each, or this to the equation (multiple rows with input fields)... I get the response and it completes the .desc field, but it won't complete .unit and .qty. Any ideas?? $(".min tr").each(function(){ $(".desc",this).autocomplete("ajax.php", { minChars: 3, width: 300, selectFirst: false }); $(".desc",this).result(function(event,
[jQuery] Calling PHP Functions from jQuery?
Hi, is it possible to call php functions from jquery? I knew how to call a .php page from jquery with $.post and to echo output or return a JSON Object. But my application growth and there is an increase in single php pages. This is very confusing and the filemanagement is getting complicated. How are you solving this problem? Is a good tutorial or info out there? I have searched google and couldnt find a useful answer. thank a lot yavuz
Need Help - Hover/Mouseover - Image thumbnail preview
Hi, I am fairly new to jQuery. I am attempting to build something simple (or so I think)... I have an image embedded within an href: <a href="mywebpage.jsp"><img src="../directory/myimage.jpg" alt="" /></a> The href links to a web page, not the larger version of the image. The above is enclosed withing a div: <div class="widget_map"> <a href="mywebpage.jsp"><img src="../directory/myimage.jpg" alt="" /></a> </div> The image is shown as thumbnail. It is being resized by CSS: .widget_map img{ padding:
[jQuery] jQuery treeView : is it possible to have alternate background-colors on the treeview ?
Hi, I'm using the jQuery treeView (thanks for this tool ;-))) and I'd like to add alternate background-colors on the tree. So, the first line would have a white background-color, the second line would have grey background-color, and so on... The problem is that the tree is not static !!! So, these colors should be reset on each collapse/expand click... Do you have any clue ? Thank you very much. David.
[jQuery] conv. .get with history.Plugin
Hi jQueryans, is a way given to use histroy.remote Plugin with normal .get func? My way of doing : $(document).ready(function(){ $("#navi a").click(function(){ $(this).parent().children("a").removeClass("selected"); $(this).addClass("selected"); $.get($(this)[0].href, function(data){ $("#content").fadeOut("slow",function(){ var div = data.replace( /([\s\S]+)<div id="content">/, '' ).replace(/<\/div>([\s\S]+)/, '' ); $(this).empty().append(div).fadeIn("slow"); }); }); return false; }); }); this is
[jQuery] AW: [jQuery] Little bug in currency Parser
Bad topic. It's about tablesorter...
Coding Standart
i am new with jquery...i am coding my blog system... i wrote my all codes into one file.. is this right ? i have codes like this: $(document).ready(function(){ .................. $(".albumphoto a").lightBox(); .................. this code will load all pages of my blog but only one page have .albumphoto class...is my coding standart true ?(yea all codes working but i want to code best) thanks
[jQuery] how to turn validator on/off with a form?
My forms can be in either 'view' mode or 'edit' mode. When in view mode, I do not want the validator to kick in. When in edit mode, I want it to kick in. A form can change from view --> edit and back any number of times once it has been loaded. It appears that the validator plugin caches settings, so once the first $(...).validate() has been done, subsequent ones simply re-use the cached validation parameters. I'd like to be able to either 1) enable/disable the validator at will or 2) be able to
[jQuery] Validation Plugin: Possible to split rules across multiple pages
So i have a web form, which contains 2 sub-forms.. basically the 2 sub forms are user controls, with form elements, and their own validation rules. The sub forms are reused on various pages, and so need their validation rules to carry through to these pages. is there a way to apply rules to a form's "validate()" function without declaring them within the validate() function? So instead of of this: $().ready(function() { $("#Short").validate({ rules: {...} }); I'd like to be able to do something
[jQuery] |OT| jquerymvc or jquery on asp.net
Has anyone got experience with jquerymvc ( http://www.chrisvandesteeg.nl/ ) or integrating with asp.net? I'd like to know how it compares with Atlas. TIA -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
[jQuery] jQuery Performance Dilemma...
I've got a performance dilemma I'm trying to solve and wanted to see what feedback this list might have to help resolve the problem. I've got a page that's pretty complex which currently utilizes lots of jQuery plug-ins (there are about 20 plug-ins in use on the page--all of them vital to the page.) Since the page can be really DOM heavy at times, it can take a long time to initialize all the various plug-ins (sometimes 2-3 seconds.) For this application, speed is of utmost importance, so I really
[jQuery] Firefox flickers in UI Tabs
Hi everyone, I desperately need help (no comments from the peanut gallery!). I am trying to reposition UI Tabs to be horizontal. I got most of it done, but noticed there is a flicker when changing from on tab to another. This can only be seen in firefox. I'm using the most up to date JQuery UI download. Can anyone help? Here is an example http://www.compasswebservices.com/web/billboard/demo.html thanks
[jQuery] Looking for jQuery experts in Brussels area.
Hi, We are looking for someone to join our development team and add his/ her specific expertise in PHP5 (Symfony framework), MySQL, Javascript (AJAX, JQUERY) , JAVA (QUARTZ, SPRING, IBATIS). Our company is developing a very exiting and challenging international project. What we are looking for is someone who has great knowledge on (some of) the above technologies. Someone who is willing to learn new technologies and share his/her knowledge. Our company is based in Brussels. Please contact me should
[jQuery] Little bug in currency Parser
The Regex code for currency is not getting it all. for example: a leading +/- will also be killt... So the Regex should be: /^[-+]?[0-9]*\.?[0-9]+$/g
[jQuery] load() doesn't evaluate response scripts, any way to trigger script evaluation?
Hi All, I am using jQuery to update a page and add content to a specific DIV with the "load()" function. jQuery loads the dynamic content, which includes a jQuery.ready() declaration of its own, but that script is not evaluated. How can I trigger the script in the dynamic content to run?
[jQuery] jquery flash plugin and express install
Hi, i'm looking for a solution about using express install with the jquery.flash plugin (by luke Lutman) I just want to know how to use ExpressInstall (and have this screen: http://kb.adobe.com/selfservice/viewContent.do?externalId=6a253b75&sliceId=1#endUser http://kb.adobe.com/selfservice/viewContent.do?externalId=6a253b75&sliceId=1#endUser , the little flash box ) with the jquery flash plugin... i read a lot of stuff about this but never find the way to do this... thanks a lot.... -- View this
[jQuery] find ".pdf" extension
Hi, I'm looking for a great solution to find 'a' tag which have href which finish by '.pdf' (or any other extention) cause my pdf link haven't specific class. To be more accurate, i must find <div> which containts 'a' tag with href which finish by '.pdf' to wrap the pdf link in a <div class="extra"> Actually, i use this code: function createExtraLink(){ $('.rt-mcms-article :has(a)').append('<div class="extra"> download :</div>'); var lnk = $('.rt-mcms-article').children('p').find('a'); $(lnk).each(function(i){
How do i turn a jQuery collection into an array?
Let's say i have this html: <div> <ul> <li class="thing">poot</li> <li class="thing">snoot</li> <li class="thing">boot</li> </ul> </div> I can get the elements with jQuery(".thing") But how can i turn that into an array like ["poot", "snoot", "boot"]? I feel like this should be really easy but i can't work out how. thanks max
[jQuery] [validate] changing messages to built-in rules in the jQuery validation plugin
Hi, I'm using the jQuery validation plugin, and I'd like to change the message for required fields from "This field is required." to, say, "fine moon cheese!". I don't want to apply this to a specific input element (I can use its 'name' for that). I also I don't mind adding a new validation method for this. I found a few solutions to this but I don't like them much, is there something more elegant? Solution 1: $.validator.messages["required"] = "Fine moon cheese!"; But that affects every form on
[jQuery] tabView
I want to open each link in a new tab only once. If the particular tab is already opened, then I again click on that click.. it should focus back to that tab. Can you guys please help me out with this.
[jQuery] Changing select list option
I'm currently trying to select a specific option in a form using jQuery I've tried $('element')[0].selectedIndex = X; Where X is an id number (and the select list has IDs as the value). However this has given unpredictable results. Can I do this by adding the selected attribute (would it make the form change on screen?) or is there something I'm missing? Thanks in advance
[jQuery] Documentation getting stale, messy?
Hi I don't want to bring anyone down but it seems that jQuery doco is getting a bit stale and messy. Is that fair? I would update it myself but I don't think I have the knowledge of the code to do so. At the moment I want to zoom an image smoothly to X %. I don't know whether to use .animate() or .effect() or a plugin and my choice is being influenced by levels of doco available, rather than what is the most effective solution, which of course sucks. For example, do I start here: http://docs.jquery.com/Effects
[jQuery] JQuery Tabs : iso-8859-1 to utf-8
Hi, I'm trying to use jquery tabs, but to do so i have to use charset=utf-8 instead of iso-8859-1. The problem is that special characters coming from sql server are not correctly translated to utf-8. Anyone had the same problem ? Spec:Windows xp, iis6, asp Here's a few lines of code. <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% Option Explicit Response.Expiresabsolute = Now() - 1 Response.AddHeader "pragma","no-cache" Response.AddHeader "cache-control","private" Response.CacheControl = "no-cache"
[jQuery] Tabs: Loading content of a Panel, when it is selected
Hello, I try to load the content ofa panel when it is selected. But I don't find a point to start. Perhaps someone can give me a hint :-) Greetings, Stefan Sturm
[jQuery] Validating Page using jquery Image Rotate
I am having validation issues on a site using jquery_image_rotate.php with jquery.innerfade.js The site: http://clifton.greenpeas.us I'm getting XML Parsing Errors, Error required attribute X not specified errors, end tag for X omitted, but OMITTAG NO was specified error, and an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified errors. Is this common with jquery scripts? What's the best method for validating? Thanks!
[jQuery] jCarousel : works great in FF but broken in IE HELP PLEASE
I have a page that is doing a combo of things mutiple scrollers on the page each in a UI.tab each being dynamically generated. and I need to use external controls with this The Page works flawlessly in FF but in IE it will not scroll.... Any help greatly appreciated _________________________________________________________ link to page: http://www.layerdynamics.com/gotgamefinal/tabpanel2.html ____________________________________________________________ code of page: // end jQuery //custom var car1;
[jQuery] Validation
How to validate a portion of a form In my html form I have 100 fields which I have divided them in 3 tabs, When the user leaves the tab we need to validate the tab. How do I need to validate the data which is in each div tag Here is the sample code <!-- This is tab 1 ----> <div class="fragments" id="fragment-1"> <table> <tr> <td> First Name : </td> <td> <input
Next Page