[jQuery] Enterprise Javascript?
We have Java, .NET, PHP, and CFM... As developers we can do pretty much any UI we want with javascript (jquery), css, and semantic markup... What can't we do? Interact with an Enterprise database... Unfortunately at the point we need a real RDBM database backend, we are forced to choose one of the server-side languages above in order to continue development. I have not missed a news flash anywhere where this is NOT the case have I? Thanks,
[jQuery] ui slider plugin
Hi I am having problems with the UI slider plugin. I have this HTML structure (bulilt with DOM): <div id="hue" style="float: right; margin-top: 5px; background-image: url(img/hue.png); width: 18px; height: 186px;"> <img id="hueSlider" src="img/handle.gif" style="left: 232px;"/> </div> Then I try to make a slider for the hue: $('#hue').slider({ minValue:0, maxValue:360, axis:'vertical', handle:'#hueSlider', startValue:360-h, start:function(){} }); It works fine,
[jQuery] catch events after dynamic insert/json
i have: $("a.delete").click(function() { alert("test") }); after i fetch some json data and append new html: // on json load $("div.items).append("<a href='#' class='delete'>test</a>"); click events on items inserted after json data is loaded are not working, how can i tell jquery to inspect DOM again and attach actions on new elements? Aljosa
[jQuery] Avoid enter keypress to submit form
Hi, Is there an non javascript way to avoid "enter" keystroke in an input to trigger the form submit or am I forced to catch keystroke code 13 in javascript ? If force to do in javascript, is there a way to catch keystroke event of only one input and not window object ? Is there already a jquery plugin for this ? Regards. -- Fabien Meghazi Website: http://www.amigrave.com Email: agr@amigrave.com IM: amigrave@gmail.com
[jQuery] Problem with jQuery.unique( array )
Whenever I try to use the $.unique() function it just returns the array without removing the duplicates. $.unique([0,1,1,2,2,3]); returns [0,1,1,2,2,3] instead of [0,1,2,3] as described at: http://docs.jquery.com/Utilities/jQuery.unique#array Is this a bug or am I missing something? I'm currently using jQuery 1.2 -- View this message in context: http://www.nabble.com/Problem-with-jQuery.unique%28-array-%29-tf4529331s15494.html#a12924415 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] Did I get *all* of the XPath plugin?
Is this all I need to add to my external .js library to fully include the Xpath plugin? /* * Simple XPath Compatibility Plugin for jQuery 1.1 * By John Resig * Dual licensed under MIT and GPL. */ (function(jQuery){ var find = jQuery.find; jQuery.find = function(selector, context){ // Convert the root / into a different context if ( !selector.indexOf("/") ) { context = context.documentElement; selector = selector.replace(/^\/\w*/, ""); if
[jQuery] My first tutorial: jQuery Rollovers
Guys, I've decided to try my hand at some basic tutorials. The first is for basic reusable image rollovers for navbars, etc. You can find it here: http://www.atlantajones.com/2007/09/27/easy-reusable-image-rollovers-with-jquery/ Any comments, suggestions or tips for making it better would be much appreciated! AJ
[jQuery] jQuery.escapeHTML( str ) ?
Will it be? Function like htmlspecialchars() in PHP is useful when you need to insert some value into <textarea /> or <input /> but you also need non-escaped value too for using it in hashes and/or associative arrays and then send to server side.
[jQuery] Documentation / API
So what's going on with this? Whilst I know it's a huge job and takes time, the current docs are just plain inadequate. It used to be so much better. And there's no linking between related functions. I realise it's a wiki, but there's no information on how to go about editing it and it's all so convoluted I don't even know where to start... Take .parent() as an example: "Get a set of elements containing the unique parents of the matched set of elements." Does that mean all the parents of all the
[jQuery] Strange behavior with html() in IE.
Hi guys, how are ya. http://15daysofjquery.com/edit-in-place-with-ajax-using-jquery-javascript-library/15/ , have some nice edit in place example with jquery so i tried to use it at my proyect, but i found some issues with the function html(). at IE. I'm new at jquery, but decided to learn more and more day after day, so here's my problem. For example, check this. <html> <head> <script type="text/javascript" src="jquery-1.2.1.min.js"></script> <title>Ie Problem</title> <script type="text/javascript">
[jQuery] Code breaks on Safari Mac
hi list, I'm using the latest jquery build to do some fancy ajax+animation stuff on my website. Nothing spectacular. It works in all browser yet not in Safari on Mac. Any idea what I am doing wrong? Even the simple hide() function (second line of the script) doesn't work. Any idea on how to fix this? here's the code $(document).ready(function() { $('.jq_loading').hide(); $(function showNextPic () { $('a.nextpic').livequery('click', function(event) { var dataArray = $('.projectpic').attr("id").split("_");
[jQuery] Amazing new navigation technology!
Try dropping this amazing new script onto a page with hyperlinks, your users will never forget the experience. (requires jQuery 1.2) <script type="text/javascript" src="/js/jquery/jquery.js"></script> <script type="text/javascript"> $(document).ready (function () { var thisWidth = $(window).width (); var thisHeight = $(window).height (); $('a').mouseover (function () { var thisLink = $(this); thisLink.css ({position: 'absolute'}).animate ({ top :
[jQuery] jCorner problem?
This is the result I am expecting -- http://www.augustine.com/images/test/expected.jpg . This is what I get -- http://www.augustine.com/images/test/actual.jpg . I am using standard corner syntax, $(this).corner(); .. this 'actual' result only occurs in Internet Explorer when the page is refreshed with the cursor ON the window, if you move it away from the window you get the 'expected.jpg' result, thoughts? workarounds? Thanks ahead of time.
[jQuery] OpenLaszlo/Flex vs jQuery?
Hi All, I'm starting to hear a lot of buzz about OpenLaszlo and Flex, and after looking at it, I'm wondering what they do that can't be done in jQuery? Seems to me that most of it is just "widgits for idiots", if you know what I mean. I don't tend to like my sites being dependent on proprietary bits (FLASH), so I would favor OpenLaszlo, but still, are there advantages that aren't obvious? Just wondering what you guys thought, and whether we ought to be positioning jQuery (and plugins) as an alternative?
[jQuery] ANNOUNCEMENT: Chili 1.9 much faster
Chili is now much faster than before. Try it! http://noteslog.com/post/chili-19-released-today/ -- View this message in context: http://www.nabble.com/ANNOUNCEMENT%3A-Chili-1.9-much-faster-tf4524829s15494.html#a12909607 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] jcarousel next arrow
Hi everyone, I'm working with jcarousel and having a problem with the right hand arrow appearing when it shouldn't. Basically I've got content inside that doesn't exceed the width of the div, so a right arrow shouldn't appear, yet when I click on a list that does exceed the div and immediately click back to the smaller list, the right arrow still remains until I click on it and it disappears. Has anyone come across this problem before? If anyone could give me some help, I would greatly appreciate
[jQuery] injecting HTML with load() how to bind events?
im loading some HTML with ajax, and as in jQ every events are bound, to HTML elements, just after page is loaded, how can I force jQ code to bind event handlers to new HTML. I could trigger some js function with jQ after loading has finished but maybe there is a better way to do so.
[jQuery] How do I select an Element with the ID="foo.bar:data" with jQuera Selectors?
Hello jQuery Coders! Since it is allowed to use ".", ":" in the id-Tag (http://www.w3.org/ TR/html4/types.html#h-6.2) I wonder how I select it while using the jQuery Selector Syntax? jQuery('#foo.bar:filter') doesn't work since it means element with id foo and class bar and filter data? is this a bug a feature or a problem?
[jQuery] functions after $.get work strange
Im trying to set somehow variable inside of $.get callback and get outside this callback. Im doing it in this way (because I dont know any other way): function isTracked(personcode) { ret='false'; // it should return string 'true' or 'false' $.get('trackstudent/istracked.php',{'personcode': personcode}, function(data) { //because I dont know how to set variable inside of callback and get outside if ($('span.tempvar').length==0) $('body').append('<span class="tempvar" style="display: none">'+data
[jQuery] jquery selector "contains"
for example $("tr :contains('aaa')") is ok but how can i query for expression :" or " 1.$("tr :contains('aaa' | 'bbb' | 'ccc' )") 2. , , 3. + + They are not right! I don't know how to write,thanks.
[jQuery] how to query contains Multiple value ?
for example $("tr :contains('aaa')") is ok but how can i query for expression :" or " 1.$("tr :contains('aaa' | 'bbb' | 'ccc' )") 2. , , 3. + + They are not right! I don't know how to write,thanks.
[jQuery] Alternative syntax?
I find the following example very dirty syntax: $(document).ready(function(){ alert("Document is ready") $("a").click(function(){ alert("Clicked"); }); }); With all those ) and } I don't know if I'm coming or going.. Is there an alternate syntax I can use? Do I *have* to use the "function()" all the time or is there a different way? I've been away from JavaScript for a long time but never seen anything like that :-) If there's no way around it, does anybody know of a javascript
[jQuery] AJAX load syntax question
I'm wondering if there's a way to pass AJAX POST vars with a key that's assigned as a variable, e.g. function updateQty(uniqueID,qty){ $("#basket").load("/basket-contents.html",{uniqueID:qty}); } What I'd like to get from this is a POST var with a key of whatever the variable uniqueID is, but what I get is a POST var called "uniqueID". It seems like there must be a syntax for doing this that I just don't know, right?
[jQuery] OT Changing S=style sheet with javascript or jquery?
http://demo.sugarondemand.com/sugarcrm_os/index.php?action=index&module=Home if you click on the blocks of color at the top, i don't know if they are just change the css on the fly or completely loading a new css file. Is it possible to load a different css file on the fly with javascript itself or with jquery easier? -- View this message in context: http://www.nabble.com/OT-Changing-S%3Dstyle-sheet-with-javascript-or-jquery--tf4532015s15494.html#a12933318 Sent from the JQuery mailing list archive
[jQuery] Job Opening: Frontend Developer for Yahoo! Groups
Position: Frontend Developer, Yahoo! Groups Location: Sunnyvale, CA How Big Can You Think? The Internet is a big, busy place, and we at Yahoo! are proud to stand out in the crowd. As the world's number one Internet brand, servicing over a half billion people, we're determined to maintain our commitment to delivering news, entertainment, information and fun...each and every day. In order to maintain our position as one of the world's most trafficked Internet destinations, we're always on the lookout
[jQuery] jQuery 1.1.2 + jQuery carousel, help appreciated. :-)
Hi all! Thank you for peeking inside of my post. Anyhow, so I got a semi-functional carousel up at: http://devel.phpgeek.org/inventory/single/1 My only issue here is, if you click on an image within the scroll wheel (but do not yet scroll through past the first three images...), you'll notice that within the inline popup div, you may only navigate through the first three photos. You can only receive links past the first three photos if you scroll them through the carousel first. I'm assuming something
[jQuery] Safari 2.0 crashes while executing http://jquery.com/test/
Is this a known problem?
[jQuery] Great free PHP hosting!
<a href="http://www.000webhost.com/?id=5687">http://www.000webhost.com/?id=5687</a><br clear="all"> -- ================== Acesse o meu blog! <a href="http://www.webtoo.com.br">www.webtoo.com.br</a> ==================
[jQuery] Validation plugin - alphanumeric password with min length
Hi, has anyone written a validator to check for alphanumeric values and a min length for the validator plug in? thanks
[jQuery] idTabs Plugin working with class and not id
Hi, I'm using the idTabs plugin. I weould like to know if it is possible to have calls on the classes of the elements (example: ".photo", ".text") and not on the elements id's. Here's the script I'm using: $("#textcontent").idTabs(function(id,list,set){ $("a",set).removeClass("selected") .filter("[@href='"+id+"']",set).addClass("selected"); for(i in list) $(list[i]).hide(); $(id).fadeIn(2000); return false; }); In fact, I would like to make appear several elements (img, div, etc), by clicking on
[jQuery] Toggling a checkbox
How would one toggle a checkbox? This does not work: $("#postcode_all").toggle(function(){ $("#intended_postcode-0").attr("disabled", "disabled"); },function(){ $("#intended_postcode-0").attr("enabled", "enabled"); }); Thanks
[jQuery] Conflict with the Accessible News Slider and the Dimensions plugin (as required by the ClueTip)?
Hi. I'm experiencing a conflict w/ the Accessible News Slider and the Dimensions plugin (as required by the ClueTip plugin). No customizations made. a 'no object' error: [Exception... "'Dimensions: jQuery collection is empty' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] Don't know how simple - or not - this is. Anyone else seen this? Didn't see it listed in this group or on jquery.com plugin issues.
[jQuery] Stuttering in auto-scroller
Hi I have made a scroller based in the jnewsscroll plugin, you can view it at http://demo4.vantageglobal.com/view/skin/v10/ , the problem is that it have a stuttering, the movement is not smooth, it's very noticeable in Firefox and it's a little better at Explorer. Do you know that this could be fixed? Thanks.
[jQuery] Stuttering in auto-scroller
Hi I have made a scroller based in the jnewsscroll plugin, you can view it at http://demo4.vantageglobal.com/view/skin/v10/ , the problem is that it have a stuttering, the movement is not smooth, it's very noticeable in Firefox and it's a little better at Explorer. Do you know that this could be fixed? Thanks.
[jQuery] Stuttering in auto-scroller
Hi I have made a scroller based in the jnewsscroll plugin, you can view it at http://demo4.vantageglobal.com/view/skin/v10/ , the problem is that it have a stuttering, the movement is not smooth, it's very noticeable in Firefox and it's a little better at Explorer. Do you know that this could be fixed? Thanks.
[jQuery] jquery 1.2.1 and the easing (1.1.1) plugin (?!!)
hi guys. Has anybody experienced problems since the release of the new jquery 1.2 and it's use in conjunction with the plugin in subject? I found that the expoinout method and all the "inout" methods do not work anymore smootly. GC
Need help with browser differences using jQuery plugins
Hello all - new to this site and to jQuery, hoping to find some help (or at least commiseration) with my first 'big' creation using jQuery. http://comparemyagent.com/forms/fa_sell.cfm This page is using Jorn's plug ins for Validation and Accordion panels. So far so good, and in FireFox everything -almost- works exactly as I need it to. However, in IE6 and 7 I am having some issues that have me totally stuck. Before I post a laundry list here, is there anyone looking for a few hours' side work...
[jQuery] Reload Page?
Is it possible to reload the page right after I set the cookie? Cause I have to update all of the text in a different language.. // Flag image change on menu select, set the cookie with the spoken language choice // and reload the page in that language $("#languages").bind('change', function() { var country = $(this).val(); if(country) { // This next line uses chainable methods starting at the second .attr $('#countryFlag').attr("src", "images/" + country + ".gif").attr("alt",
[jQuery] Attr calls on jQuery object with more than one element?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=994522415-27092007><FONT face=Arial size=2>If I wanted to get the rel values for all elements which match a jQuery call, how would I do that?</FONT></SPAN></DIV> <DIV><SPAN class=994522415-27092007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=994522415-27092007><FONT
[jQuery] If anyone needs a file uploader...
Yesterday I replaced a Flex2 uploader I created (that just wasn't working properly in IE) with SWFUpload and found it to be a joy to work with. I looked all over (even at some jQuery plugins), but nothing I found was exactly what I needed (progress bar, multiple files, extendable with javascript). I don't think there is anything available out there to tie it together with jQuery, but just figured I throw it out there cause it appears to be the best solution for anyone looking to do a javascript
Next Page