[jQuery] Get td string and replace
Hi, I would like to select the text of this td and replace with another string. How can that be accomplished? <td jscontent="address" style="vertical-align: middle; width: 100%;" jstcache="9">8050 Drexel Ct, Lemon Grove, CA 91945</td> I tried with this without any success: var vtd = $(".googledir tr td:contains('8050 Drexel Ct, Lemon Grove, CA 91945')").html('8050 Blossom Lane, Lemon Grove, CA 91945'); Thanks
[jQuery] Jbind/JQuery With Safari browser
Hi, I have an Aspx page in which I'm using JQuery. I'm perticularly using jBind plug in of JQuery for binding data to the template. I have 4 divs in to my solution. Out of 4, 2 Divs are bound to templates and rendered as per the template. This solution works very fine with IE 7.0 and Firefox, but when it comes to Safari, I could not see the Divs that are bound to templates. Is there any thing I need to do to render those in safari. Is there a jQuery and jBind support for Safari?
[jQuery] jBind With FireFox
Hi, I'm using JBind in my project. I have defined the template and binding data to it by using BindTo() method. This solution works very fine with Internet Explorer, but when it comes to Firefox and safari it fails.... Can somebody tell me how to get out this issue? We need to have firefox comaptibility. Regards, .Nil
[jQuery] Select td text
How can I select the text of the td below with jquery? For example: {code} <td jscontent="address" style="vertical-align: middle; width: 100%;" jstcache="9">8050 Drexel Ct, Lemon Grove, CA 91945</td> {code} I tried with something like this without much success: {code} var vtd = $(".googledir > table > tbody >tr > td:contains('8050 Drexel Ct, Lemon Grove, CA 91945')").text(); console.log('vtd: %s', vtd); {code} Thanks
InnerFade plugin doesn't work (no fading) in IE 6/7
I'm using the InnerFade plugin on a few sites as an image rotator. The plugin works smoothly in FF and Chrome. However, in IE, the images don't fade, they just blink on then off. The images I'm using are jpegs and I'm not sure if IE doesn't like fading jpegs, or doesn't like fading at all. Just wondering if anyone else has this problem and if they got it fixed. Thanks
[jQuery] Selector issue (i think), Cant control specific elements
Heres a very stripped down version of the page i'm trying to write. For simplicity, the Show / Hide functions (not meaning hide from view, but within a db) are the same (they change the background color of the div), the functions work for the most part but ignores certain divs (the ones titled Hidden Category, Phones, and The New Hidden Category). I cant figure out for the life of me why i cant select them. I CAN select them if i do a sweep of all update_equip classes. would settle for some sort
[jQuery] Jquery Superfish problem with dropdown in IE7
I haven't seen this problem elsewhere as of yet. This is an internal site, so sorry, can't show the site. What is occurring though, is when you mousover a menu item that has a dropdown, it shows the first 10 pixels or so of the top of the dropdown, then shows the rest of the dropdown 1/10 of a second later. This only occurs in IE7. The additional issue is the dropshadow also only shows on that same area, after the 1/10 of a second. It's like it's waiting for the shadow to load before it will load
[jQuery] [validate] - max validation with float values
Hi all, I use the validation from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ and have a problem with float values on the validation. I have implemented the following on my page: .......... <script src="/admincustomers/js/jquery-1.3.2.min.js" type="text/ javascript"></script> <script src="/admincustomers/js/validate/jquery.metadata.js" type="text/javascript"></script> <script src="/admincustomers/js/validate/jquery.validate.js" type="text/javascript"></script> <script src="js/validate/cmxforms.js"
library load event
I'm trying to append jQuery.js to the doc from another js file. Problem is: I don't know when the library has loaded and therefore when I can call functions within it. Does jQuery call some sort of generic function or fire an event when it loads? If so, I could hook into it and run what I need to. Otherwise, does anyone have any ideas about how I might do this? Thanks for any insight. ~furcht.
[jQuery] jQuery Superfish dropdown issue in IE7
I haven't seen this problem elsewhere as of yet. This is an internal site, so sorry, can't show the site. What is occurring though, is when you mousover a menu item that has a dropdown, it shows the first 10 pixels or so of the top of the dropdown, then shows the rest of the dropdown 1/10 of a second later. This only occurs in IE7. The additional issue is the dropshadow also only shows on that same area, after the 1/10 of a second. It's like it's waiting for the shadow to load before it will load
[jQuery] how to make an alert before processing a form
i might be tired right now but I cannot seem to figure out a good way to show an alert before processing a form, the form is not processed using AJAX, just passed on to a PHP script I might however want to implement AJAX when processing the form, hmmm, maybe that will sort me out then I guess /pär
[jQuery] question about approaching an interactive image gallery
Hi there, I want to start developing a simple interactive image gallery for a home page. My goal is for it to behave similar to SlideViewer (http:// www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html) in it's functionality, except that instead of clicking on a list of numbers, there will be navigation controls( arrow left, arrow right) to go forwards or backwards in the images. I also want to have accompanying text that appears in a div overlay. I am thinking that
[jQuery] FCKEditor jQuery Plugin Configuration
I was wondering if anyone could provide me with a sample in how to configure the FCKEditor when I'm using the jQuery Plugin. Do I write the toolbarset script in the configuration within the jQuery like so: $.fck.config = { path: "<?= base_url(); ?>public/js/fck/", toolbar: "Default", height: "100", toolbarset: "Tool set here" }; Or do I write it into the fckconfig.js file. I have been modifying the fckconfig.js with the tools I want to use and it just doesn't seem like
[jQuery] jEditable - WYSIWIG combination || problem
Hi, Experiencing a little problem using the WYSIWYG inline editor with jEditable. I have succesfully installed it and got it actually to work. But here’s the thing: Once I specify options/controls for the wysiwyg editor, these are only being applied to the first ‘editable’ area I activate. Once I click/activate a second or third ‘editable’ area they display the wysiwyg editor with default settings. Here’s some javascript (jQuery) code: $('.postContent') .editable('editdatabase.php', { name : 'content',
[jQuery] Cluetip override Error to stop showing cluetip
Hi there, I've been using the most recent version of cluetip 0.9.9.c and I have overridden error function in the cluetip, but I was wondering how I can hide the actual cluetip? I tried $(this).isActive = false but this didn't work. error: function(xhr, textStatus) { /// HIDE THE TOOLTIP? } Basically I got a check in the error function that checks whether to show the error or redirect to the login page in case I have forms authentication. So how can I hide the tooltip? Regards DotnetShadow
[jQuery] ThickBox 3.1 , not able to display images fetched via ajax
hii! I am using following javaScript libraries in a project - jquery-1.3.2.min.js thickbox.js jquery-ui-1.7.1.custom.min.js Everything is working fine. But problem is when I am trying to display image/images in Thickbox via ajax then it doesn't work and if I am displaying them simply without using ajax then its working fine. I am not able to find the solution and am relatively new to jquery so can anyone give me a hint or solution ? Thickbox version I am using is the latest one Thickbox 3.1 Thanks
[jQuery] Start Cycle Plugin from External Page Link
Hello all, I'm using the Cycle plugin to build a photo album feature and am looking for a way to jump to a specific slide when a user clicks a thumbnail on a separate page. For example, I have a thumbnail listing page: http://static.spartaninternet.com/sandbox/schools/library.php When clicking on the thumbnail, I'd like the new page with the cycle to load with the clicked thumbnail as the starting slide. I know there's a startingslide option but I can't wrap my head around how to load the page and
Tabs with upper and lower tabs navigation
A bit of background, I've got the UI tabs all styled and working fine, no problems there, even have the theme working great too. Client has requested that there also be same tabs at the bottom of the 'widget'. So, a row of tabs which is also duplicated across the bottom, where clicking a tab in either location with cause the same action. Also, the on/off states will need to work the same as well. A simple duplication of the li's didn't work, like i expected. I haven't seen an example what i'm trying
[jQuery] jQuery form plugin file upload failure
I'm using the latest version of the form plugin from http://jquery.malsup.com/form/ and am having problems with a form that has an input of type "file". I have read all the info about how to return JSON and such, how an iframe is used, etc. I've Googled around and searched this list, but m not seeing anything relating to my problem. I have a series of forms which pop up in a modal dialog and are submitted view the ajaxSubmit method. Only one of these forms has a file field in it, and it does not
Questions about manipulating the DOM.
Hi. I'm trying to create a script that will do a certain function but I'm not really sure where to start. Maybe someone could help me out? I'm using RTM to mange my day to day tasks and at the moment it only allows me to alter a certain number of fields for each task. I'd like to add a custom field by utilising the tags field of that task. So if a task has a tag of @home, I'd like to create a field that reads "Contexts: home". I'd also like this to work the oposite way round as well. So for example,
[jQuery] Novice help -- surely this is easy to accomplish?
A freelance developer designed this superfish menu for me, but he has since taken another job and cannot assist me anymore. I have this page in development: http://www.cmpl.org/infinity/html/aboutus/index2.asp Using this stylesheet for design: http://www.cmpl.org/infinity/html/styles/styles2.css And this stylesheet for the superfish menu: http://www.cmpl.org/infinity/html/styles/superfish.css Problem #1: You can see that when the user is on a selected page (in this example the "Using Your Library"
[jQuery] How to get file name
<img src="images/xxx.gif"> $('img').attr('src') -> This will get images/xxx.gif How to get xxx.gif by jQuery?
[jQuery] load and unload site
Hello, im loading external site like this. $('a#link').click(function(){ $("#playGround div").load("http://www.mysite.de"); return false; }); how can i unload this site? i tried: $("#playGround div").remove(html); and: $("#playGround div").unload(html); but both is not working!? Thanks for Help
[jQuery] [validate] How to show element in its in/valid form in JS.
Hi. Is there any way how in JS show particular element in its valid or invalid state? I have a function which validate one element, and in this function i need to change second elements state to valid or invalid. Thank you. Best regards.
[jQuery] Events without $(document).ready()?
Hello, folks -- I'm very new at this, so please pardon my ignorant question. I have a text field and a select input. My code sets the text field when the select changes. What I'd like to do is have it NOT do this when the page is first loaded, but only when the user touches one of the select inputs. (This is because I want to preserve whatever the user may have typed before they reloaded the page with a submit, which can also change the choices of the select input.) Here's my code so far: $(document).ready(function()
[jQuery] Periodical Updater
HI, I tried to implement some code that do the same as Ajax.periodicalUpdater in Prototype, when I run it in the browser, it works, but the memory used by the browser getting bigger and bigger, so the browser will not respond anymore, Here is my code <script type="text/javascript" src="../jquery-1.3.2.min.js"></script> <script> function callMeOften() { $.ajax({ method: 'get', url : 'data/1.txt', dataType : 'text', success: function (text) { $('clockArea').html (text); } }); var holdTheInterval =
[jQuery] jqery.load missing html tags
Hello, im using .load to get a part of a html site into my div. Problem: For exapmle i have some markup like: <strong>some text</strong> When i load this content the tag is closing befor of the strong tag. Looks like this: <strong>some text</strong> <script type="text/javascript"> $(document).ready(function(){ $.ajaxSetup ({ cache: false }); $('li.leistung a').click(function(){ $(".content").load("leistung.html .content *"); return false; }); }); </script> The document
[jQuery] binding after .get()
Hi all, new to jQuery I am having difficulty on the binding concept. Currently using this function to regenerate a full form based on a PHP script. -- $("select").change(function () { $.get('script.php', {'c': c, 'sc': sc }, function(data) { $('form').html(data); }); return false; }) .change(); -- This works, but I'd like to use some next steps in the newly created selectors. I understand I need to (re)bind these selectors, but am lost on how to achieve that. Anyone? Thanks in advance, Henjo
[jQuery] accordion problem
this website dummie uses the jquery accordion plugin http://gonzo.uni-weimar.de/~atix5565/kim/ for now everything is ok, but their is a bug which lets disapear a div container. try this steps first: portfolio -> installations -> then the thirdmenu appears reload page. now second step: news -> portfolio -> installations -> and now there is no thirdmenu what's wrong? or do i use the accordion the wrong way? regards peter
JQuery Lutman Flash Plugin with 100% Width
Hi All, I've been using the Jquery Flash Plugin by Luke Lutman http://jquery.lukelutman.com/plugins/flash/, and so far it's been great. However, I've run into a little problem. I need to create a flash overlay on a page that covers the entire width and height, and as a result I need to set the width and height to 100%, but the plugin only seems to accept pixel based values. So does anyone know how I'd achieve this using the current plugin? Unfortunately changing the flash embed method isn't really
[jQuery] CSS @import not working in IE
Hi, I have the following jQuery and HTML on my site, which performs both a total CSS switch, and a partial CSS import: <script type="text/javascript" src="/Portals/19/jquery-1.3.1.min.js"></ script><script type="text/javascript"> $(document).ready(function() { // COLOUR autumn $("#css-autumn").click(function() { $("link[rel=stylesheet]").attr({href : "/Portals/19/Skins/Design001/ autumn.css"}); }); // FONT Verdana Times $("#css-verdanaTimes").click(function() { $('style[type="text/css"]').text('@import
[jQuery] TextboxList for jQuery
I've released my TextboxList widget<div><img src="http://devthought.com/wp-content/uploads/2009/04/picture-1.png" alt="picture-1.png" title="picture-1.png"> </div><div> </div><div>for jQuery: <a href="http://devthought.com/projects/jquery/textboxlist/">http://devthought.com/projects/jquery/textboxlist/</a></div> <div> </div><div>Let me know what you think!<br clear="all"> -- Guillermo Rauch <a href="http://devthought.com">http://devthought.com</a> </div>
Problems with buttons and overlays
Hi, i've got two questions: When i'm using the jquery overlay (jquery.overlay-1.0.1.min.js) i'd like to use a tooltip for the button whitch shows/hides my overlay - has anybody an idea how i could do this? And when i try to add an image to a tooltip it doesn't work. How can i do this? Thanks a lot!
[jQuery] JCarousel, Transparent PNG and IE6
Hi, I'm using JCarousel with transparent PNGs so I need to use a fix for those images to show correctly in IE6. This fix is http://jquery.khurshid.com/ifixpng.php I run $('img[@src$=.png]').ifixpng(); on $(document).ready(); and is fine, but the problem appears when the PNGs are inside a carousel with a gradient background. The images just don't appear on IE6. I suppose I need to call $.ifixpng() when JCarousel is done arranging the items but I can't find the appropiate callback for this. Any help
[jQuery] Safari 3.2.1 and $.ajax POST doesn't work
Hello to the ng; i have a form that should be submitted via ajax; it works of ff and ie, but doesn't in safari 3.2.1. I've simplified every page to isolate the problem: The html: <form name="form" id="richiestapreventivo" action="" method="POST" enctype="multipart/form-data"> <fieldset> <legend>Richiesta preventivo</legend> <ol id="datiazienda"> <li> <label>ragione sociale</label> <input name="ragionesociale"
[jQuery] limit drag to a zone
Hi everybody, I was wondering if there was a way to limit a drag from a zone : for example I have a div zone with elements inside : <div> <my dragable element/> </div> and I don't want to be able to drag the element out from the div. I read the doc but didn't see anything.... Thank you very much
[jQuery] Get element position relative to the body
Is it possible to get the position of an object relative to the dcument if it's a floating object inside elements? thanks.
[jQuery] http://wiki.jqueryui.com/ style navigator
Hi there, I was wondering if there is any plugin or technique to achieve something similar to the http://wiki.jqueryui.com/ site. The navigator to the right of the page looks pretty amazing, i would like to know how it can be done or if its already done and available. Thanks Vru
[jQuery] Where to find a jQuery Developer?
Hello, Does anyone know where I can post a wanted Ad for a London based jQuery developer to help me create a jQuery UI component? I have a client where I'm creating UI's for but I want future ones created in jQuery and I need some help because I can't do it... :) Thanks, Nick
[jQuery] Ajax dot net - Sending objects to the server problem
Hi, i'm trying to use the ajax dot net plugin to perform ajax calls to an AJAX enabled WCF service. No matter what i do i get an error: 'Object reference not set to an instance of an object.' However from firebug i can see the JSON object that is getting posted: {"contactmessage": {"__type":"ContactMessage","name":"Jon","email":"jon@jon.co.uk","message":"gfd" }} So it looks like something is being sent correctly but not handled on the other end. In the examples that come with this plugin there is
Next Page