[jQuery] jsonp - how don't make request after first request
помогите please how to set preferences autocompleter made no inquiry after the first, which has already downloaded all the possible values? какие указать настройки чтобы autocompleter не делал запрос после первого, который уже загрузил все возможные варианты? jQuery("#mobile").autocomplete( "/autocomplete.php",{ minChars: 2, matchContains: true, extraParams:{c:'mobile'}, autoFill: false, formatItem: function(row, i, max) { return i +
[jQuery] jQuery in 3rd party environment
I'm writing a snippet of code to be put on any third party website and have NO idea what environment it will be dropped into. My end goal is for the badge to be <script src="http://example.com/js/badge.js"></script> I would like to use jQuery in my badge code to make my life easier, but I don't want to require another include on the client side (getting anything updated on the client is a pain). This is the best I could come up with. I don't want anything before or after my script to be affected
[jQuery] IE6 Background Image Flicker
Since jQuery.browser and jQuery.browser.version are depreciated as of jQuery 1.3, what is the preferred way to check if the browser (in this case IE6) needs to have the "BackgroundImageCache" set? The closest match I see is jQuery.support.opacity, but I'm not sure if that is pertaining to how the browser interprets the alpha properties of images or if it's other elements as well? Ref: document.execCommand("BackgroundImageCache", false, true) Ref: http://docs.jquery.com/Utilities/jQuery.support
[solved] Dynamic link generation
Hello, all. There's a feature I want to implement, but don't really know how to code. The intention is to use jQuery to convert words with a certain class attribute into Wikipedia links. An example to make things clearer: PLAIN TEXT: There is a <span class="wiki">penguin</span> there. EXPECTED RESULT: There is a <a href="http://en.wikipedia.org/wiki/Penguin">penguin</a> there. Hence the code would have to grab the string of words inside the tag and place them inside a href with the first part of
select box causes mouseout event on parent div
I have a strange problem with a dropdown menu that is contained in a hovering div. The issue that the mouseleave event is fired the moment you move your mouse over the dropdown select list that appears when you click the dropdown menu. I have tried checking the relatedTarget object but it is null when mousing over the drop down list. I have written up a quick example below. If you mouseout of the black box an alert pops up. If you also try dropping down the select list and selecting a value the mouseout
[jQuery] jqModal - ajax response
Hi, I am using jqModal to pop up the modal dialog box. I want to check the content of loaded request in jqModal dialog box at the time of showing this jqModal dialog box. its same thing like i want to have responseText of ajax call for this JqModal dialog bo. I know it has few methods for its callback like onShow/onHide,OnLoad but how i can check returned content from ajax for this jQmodal. -- Prashant Roy
[jQuery] I am a new user and using jquery in lightbox and thikbox but i want more
Any body Know's where to find free ebook's for jQuery and Ajax let me know at www.mangomobi.com
Some form problems...
Hi all, Well, I'm just a beginner with jquery (1days) and I have a problem with my form contact validation. When I click on the submit bouton, it go to envoi.php, and when I delete the action="envoi.php" in the form definition, the form validation with jQuery don't work... Well, I give you my website to exemple (I think that in the better way to explain my problem) : http://felix-aime.fr/version_alacon/ (the website) http://felix-aime.fr/version_alacon/scr ... uery-in.js (my jquery script :S) Thanks
[jQuery] jQuery Works fine with Firefox and Internet Explorer 8. Not with IE7?
I developed a website using jQuery plugins in part of it. Couple of visitors visited the website with internet explorer complained that some part of the website does not function at all. I have Internet Explorer 8 installed and I dont know how to downgrade it. Can someone test the website and tell me the error please. Thank you in advance! http://www.pangeaadvisors.org
jQuery Tabs Problem: All content divs showing at same time
For some reason, when my first div loads, I'm seeing all 3 text show up even though they're in different <div> containers: <script type="text/javascript"> $(document).ready(function() { $('#Tabs').tabs({ fx: { opacity: 'toggle'} }); }); </script> <div id="Tabs"> <ul> <li id="PTab" runat="server">tab1</li> <li id="OTab" runat="server">tab2</li> <li id="RTab" runat="server">tab3</li> </ul> <div id="TabsMain"> <div id="PContent"> form </div> <div id="OContent"> examples </div> <div id="RContent"> test
[jQuery] trouble using $.get xml
I'm having trouble using remote xml feeds. In this example, I'm trying to get product id's from drugstore.com's xml feed. Looking at my console log in Firebug... my get function isn't working. <script type="text/javascript"> $(function(){ $.get('http://xml.drugstore.com/xml.asp? c=10&b=&k=&SORT=&filter=&type=topsellers&trx=xml&trxp1=10&f=xml', {}, function(xml) { console.log('successfully got xml feed'); $('Details',xml).each(function(i){ productID = $(this).find('ProductID').text(); console.log(productID);
[jQuery] Ajax firing at page load
Hi, This script (below) is firing at page load. Are there any ideas how not to get it to fire until and event happens. Thanks for the help. Greg $(document).ready(function () { if($('#DrainStackDiameter').val() != null){ $('#PowerPipeConfigurations').change(function(){ getResults (); }).change(); $('#TotalApartmentsServed').blur(function(){ getResults(); }).blur(); $('#TotalWashroomsPerApartment').blur(function(){ getResults(); }).blur (); $('#TotalPowerPipeUnits').blur(function(){ getResults();
[jQuery] Submit form with serialize() question
Hello, I submit my form with the $.ajax method and passing it the serialized form. But what about the images inside the form ? Thank you for any help. -- View this message in context: http://www.nabble.com/Submit-form-with-serialize%28%29-question-tp24078650s27240p24078650.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Problem in JQuery_intellisense at VS-08
Hey people I have a bug in Jquert intellisense When I add the reference to the intellisense file "(jquery-1.3.2- vsdoc.js)" It worked But everything when I add [code]<script type="text/javascript" src="jquery-1.3.2.js"></script> [/ code] To the page the Jquert intellisense Disappeared . What to do? [code] <script type="text/javascript" src="jquery-1.3.2.js"></script> <!-- Enough to delete this: "jquery-1.3.2.js" and the intellisense returns to work --> <asp:PlaceHolder runat="server" visible="false">
[jQuery] cluetip + livequery (or other rebinding method)
Hello everyone. I've searched and the posts about rebinding cluetip and thought livequery would be a good option, but it just seems to work on the first load? Background: I'm using the cluetip plugin along with the dataTable plugin. DataTable is pulling its table info from ajax after the page loads using this in the ready event: attributes_Table = $('#attributes').dataTable( { "bStateSave": true, "bProcessing": true, "bPaginate": false, "bLengthChange":
[jQuery] Cluetip with Image Maps
Hi, I have a small problem with image maps and clueTip. Client requires 4 map areas on an image (plus the image itself) to trigger cluetip. The image itself triggers a sticky clueTip with now Title 2 Map Areas trigger a standard clueTip with custom width with No Title 2 Map Areas trigger the same sticky clueTip as the image with No Title I almost have this working, the Image itseld triggers properly as to the first 2 Image Maps as normal clueTips. But unfortunately the Title is appearing on the 2
[jQuery] get email and send email?
Looking for a good tutorial on how to use jQuery to read email sent to my site's email address, and how to send email through my site's email. Basically, how to construct the server email portion of Twitter. Thanks all.
Photo gallery (jqGalScroll) help
I am currently using jqGalScroll v2.1 for a gallery project: http://benjaminsterling.com/jquery-jqga ... o-gallery/ However, he removed prev/next up/down buttons in this version for whatever reason. A previous version had them included: http://www.benjaminsterling.com/experim ... GalScroll/ However, since he constructed the code differently in each version, I am at a loss of how to get the prev/next arrows into the newest version. Any suggestions/help? Thank you much!
[jQuery] (validate) clearing error state / bug with check function
I have a feature request / and/or bugfix depending on how you'd like to look at the problem. I have a section of a form that is toggled to/from a disabled state based on another control. For the sake of the example, if the 'authentication' checkbox is checked, then a 'username' and 'password' text boxes become enabled, and are required fields. These fields also have additional validation rules. This works totally fine w/ the validation rules as expected when clicking on a submit button. However,
[jQuery] i need solution
how to set selected optionvalue in activeDropDownList in yii to an activeTextField
[jQuery] Regarding HTML post in jQuery
I want to post some html content on a page through jQuery. If I post normal data like "abcd" then it works but when data contains html tags like <div>abcd</div> it doesnt work. <script language="javascript" type="text/javascript"> function ProcessData() { var pageData = document.getElementById ("MainDiv").innerHTML; $.ajax({ url: "ProcessHTMLData.aspx", type: "POST", data: pageData, //data: "abcd", dataType: "html", success: function(returnData) { alert(returnData); } }); return false; } </script>
[jQuery] avoid displaying native browser tooltip on links
I have a series of links in my page, all with its title atribute filled. The thing is that I don't want the browser to show this title whenever i hover those links, but still want to have mi titles in the markup Is there any way to do it? thanks a lot for your help
[jQuery] Cycle removes background image from thumbnails (pager)
Right, here goes: I'm using a modified "jQuery Cycle Plugin - 'goto' Demo 2 (aka: Poor Man's pager)" implementation of the Cycle plugin, this works fine in FF2+, Op9, Saf3+ and Chrome2 but in IE cycle stops the background- image from repeating! As usual I cannot give out a public link due to NDA but I can give you these two image locations to see the differences: http://area51.slnmedia.com/cycle/cycle-issue-ff.jpg http://area51.slnmedia.com/cycle/cycle-issue-ie.jpg Finally, thank you for reading
[jQuery] live() appears to be invoking handlers at the wrong time under webkit
jQuery v1.3.2 rev 6246 (and I just tried with the current nightly build too - same behaviour) Given the following html which basically has a button floated over the top right corner of an image: <div class="abc"> <div class="xyz"> <img src="..." title="..." /> <button type="button">X</button> </div> </div> When I set up a couple of live handlers: $('.abc .xyz img').live('click', function() { // handler A.... }) $('.abc .xyz button').live('click', function() { // handler B.... }) If I click on the
Replacing the first word of a string
Hi, I have a link which has the anchor text as "See 1 more time", ie. <a href="/play" class="mylink">See 1 more time</a> Is there a way in Jquery of changing this to "Play 1 more time" - I change the first word "See" to "Play". I need it to update on all links with the class "mylink", ie: <a href="/play" class="mylink">See 1 more time</a> <a href="/play2" class="mylink">See 2 more times</a> <a href="/play3" class="mylink">See 3 more times</a> Any help would be much appreciated!
[jQuery] jQuery syntax
Hi, I've been working on a project that uses xml. But for some reason, it does not work in internet explorer. And after hours and hours of debugging, I cannot figure out why. I would deeply appreciate it if you could help me. I hope this isn't asking too much, but what is wrong from the code below? (I'm hoping I'm just blind and someone sees it right away) $(function() { $.ajax({ type: "GET", url: "videos.xml", dataType: "xml", success: function(xml) { $(xml).find('item').each(function(){ var thumb
[jQuery] Display data from two columns in ONE jqGrid column
Hello, I'm trying to create a grid, using jqGrid-3.4.4, which can display data from two columns in ONE jqGrid column. One way to achieve this is to create another data column, on the SERVER side, with combined data from required columns, and then assign that column to jqGrid column. Can this be done in jqGrid on client side ? Please advise how to achieve the functionality. Thank You.
Filter some html tag in DOM
Hi All, I would like to copy/clone the html DOM from "id1" to variable "tblContent", and remove the tag "<script>" and "<a>" from variable "tblContent", then append the html DOM to "id2" but not working...any error of my code? PS: no any changing in org. table (i mean the <script>, <a> tag should be still here) <script language="javascript" src="jquery.js"></script> <!------------------------------------------------------> <script> var idx = true; </script> <!------------------------------------------------------>
[jQuery] Display data from two columns in ONE jqGrid column
Hello, I'm trying to create a grid, using jqGrid-3.4.4, which can display data from two columns in ONE jqGrid column. One way to achieve this is to create another data column with combined data from required columns, and then assign that column to jqGrid column. Can this be done in jqGrid ? Please advise how to achieve the functionality. Thank You.
open a pdf with ajax
Hi. I try to explain my problem. Sorry for my english, it isn't much good. I have a ajax call with jquery that execute a php script that use a pdf class (ezpdf) to generate a pdf stream with the data passed by ajax. This class use $pdf->ezStream; to stream without saving on server the pdf output. The problem is that, if i use this in the php called by ajax, it woldn't stream anything. I don't wnat to save the pdf file and get the user to save. I want to generate it and stream on video. Any help'
Collapsing table rows in other tables?
I've got a series of nested tables with data that look someting like this... <table> <tr><td> <table> <tr class="ItemHeading"><td>Item Heading (always Visible) /td></tr> <tr class="ItemDetail"><td>Item Detail (collapsible)</td></tr> </table> </td></tr> <tr><td> <table> <tr class="ItemHeading"><td>Item Heading (always Visible)</td></tr> <tr class="ItemDetail"><td>Item Detail (collapsible)</td></tr> </table> </td></tr> <tr><td> <table> <tr class="ItemHeading"><td>Item Heading (always Visible)</td></tr>
[jQuery] Palm Pre and jQuery? Is it possible?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0"> <TITLE>Palm Pre and jQuery? Is it possible?</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <BR> <P><FONT SIZE=2 FACE="Arial">I watched a slidedeck today which talked about developing for WebOS, which is all based around JavaScript. Does anyone know if it's possible to use jQuery
[jQuery] (validate) conflicts with (jqmodal)
I'm using both validate 1.5.4 plugin and jqmodal r14 plugin (latest releases) When both plugins are loaded the jqmodal plugin fires only one instance on the first element associated to it. for example: head: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/ libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="/Scripts/Jquery/ jquery.validate.pack.js"></script> <script type="text/javascript" src="/Scripts/Jquery/jqmodal_pack.js"></ script> Jquery code:
[jQuery] [validate] array name attribute
hi, i am having problem with validation if i would be using an array name attribute <form method="post" action="" id="form1"> Name: <input type="text" name="applicant[name]" id="applicant_name">* Address: <input type="text" name="applicant[address]" id="applicant_address">* Company Name: <input type="text" name="company[name]" id="company_name">* Company Address: <input type="text" name="company[address]" id="company_address">* </form> with all fields required, jquery validate is not validating this
[jQuery] Converting objects to strings
Hi All, I have the following code, which I am trying to pass in 5 variables. <script type="text/javascript"> $(function(){ $('#DrainStackDiameter').change(function(){ var params = { TotalApartmentsServed: $('#TotalApartmentsServed'), TotalWashroomsPerApartment:$('#TotalWashroomsPerApartment'), TotalPowerPipeUnits: $('#TotalPowerPipeUnits'), DrainStackLength: $('#DrainStackLength'), DrainStackDiameter: $('#DrainStackDiameter') }; $('#RecommendedPowerPipeModel').load('recommend.php',params);
finding the position of a <li>
Hey guys, Is there anyway to get the position of an <li>? I'm trying to create a horizontal scrolling effect on a list of links. I can kind want the scrolling effect to stop when the last <li> item is displayed on the page. Here is my code so far $(".leftScroll").click(function(){ var leftWidth = $("#subCategoryNav ul").css("left"); if( leftWidth < '0px' ) { $("#subCategoryNav ul").stop().animate({"left": "+=50px"}, "fast"); } }); $(".rightScroll").click(function(){ $("#subCategoryNav ul").animate({'left':
[jQuery] jQuery reallysimplehistory solution
Hey there I just wanted to feed back my knowledge and experience with reallysimplehistory (RSH) and jquery integration. There were some existing docs but nothing matched the problems i was looking for. Firstly, you may think you need to integrate jquery (and json) with RSH as per their documentation. This is not the case. jQuery no longer supports JSON in their library, but as a a separate plugin. As advised by the guys in #jquery on irc.freenode.net, its better to use native JSON rather than try
[jQuery] jQuery Media Plugin - Question
Hi, I have implemented the above mentioned plugin, as well as the swfobject plugin. <h2> test </h2> and $('h2').media(function(el, options) { options.caption = false; options.height = /h21/i.test(el.tagName) ? 65 : 35; options.src = 'euphemia.swf'; options.flashvars.txt = $(el).text(); options.bgColor = 'transparent'; }); works so far. it gets replaced with this: <div style="background-color: transparent; width: 400px;"> <embed width="400" height="35" flashvars="txt=Newsletter" autoplay="false" wmode="transparent"
Turning $.post into $.ajax
Hi all, This is very stupid but I cannot make it work. I'm trying to turn the following: $.post("search.php", { clientID: thisChannel.tblClient_id, channelID: thisChannel.tblChannel_Id, wordsToSearch: wordsSearchedfor }, function(data){ alert("data: " + data); }); Into this: $.ajax({ type: "POST", url: "search.php", data: "{'clientID':'" + thisChannel.tblClient_id + "','channelID':'" + thisChannel.tblChannel_Id + "','wordsToSearch':'" + wordsSearchedfor + "'}",
XML filter is applied to non-XML value
Hello, I'm using jCarousel, to set up carousel, and display requested items with AJAX. Here are my to trouble-maker functions : function mycarousel_itemLoadCallback(carousel, state) { // Check if the requested items already exist if (carousel.has(carousel.first, carousel.last)) { return; } $.get( 'dynamic_ajax_php.php', { first: carousel.first, last: carousel.last }, function(xml) { mycarousel_itemAddCallback(carousel,
Next Page