[jQuery] The Assignment of the Return Value of a jQuery Method/Plug-in to a Reference Variable
QUESTION: Please find below three blocks of code and try to answer the question in all-caps that precedes this code. CODE DESCRIPTION: The first block of code uses a jQuery method/plug- in called toDate( ) that I created. This code has been thoroughly tested in Firefox, Opera, and Safari. It works superbly. The second and third blocks of code work in tandem and are labeled unworkable, because I am unable to assign the returned value of the toDate( ) method/plug-in to the citationDate reference variable.
[jQuery] superfish prob in IE 7 when loading PDF
Hello there, I have a problem here when using superfish menus. I used the menu on top of the page and below it, i place an iframe to load a PDF. My problem is that the menus are overlapped by the opened PDF in IE 7 and Firefox. IT works fine in IE 6. Hope anybody encountered this baffling phenomenon. :D
[jQuery] help with accordion with IE (strange flickering)
hi, i am developing a site, which i intend to use accordion at my frontpage. everything works good with all browsers except for in IE 6 or even 7, it is behaving a bit weird which I don't see that in the demo (http:// docs.jquery.com/UI/API/1.7/Accordion) here's the example that i'd uploaded on my test server http://www.project.gp.sg/jquery using Internet Explorer, if you click at any of the accordion drawer, you'll notice the strange behaviour that something is flickering, and the word "FOOTER"
[jQuery] Advanced Syntax Questions
I'm still trying to get the hang of the syntax. For example, if I want to select the first anchor tag on the page whose href begins with "css", this doesn't work: (a[href^=css](a:first)) What's the right way to do this? Thanks!
[jQuery] How to remove unneeded functions of jquery?
Hello Jquery members , I'm wondering how to remove unneeded functions out of jquery. This could strongly reduce the file size! Can somebody tell me more about it?
[jQuery] [help] Math + Checkboxes
Hi there. I'm not very good with Jquery and JS yet, so I'm having a bit of a problem trying to achieve this. What I need to do is explained here: http://ignacioricci.com/alphas/jquery-issue.gif And here is my actual code: http://ignacioricci.com/alphas/jquery-issue.html Is working in a way, but it's buggy. This bug is explained in the gif image. Thank you for your help, Ignacio
[jQuery] a jQuery solution for an MSIE problem?
Hi everyone, I have been struggling with a MSIE related problem and I was wondering if using jQuery will help me find an asnwer. Basically, the code words wonderfully in all other browsers except MSIE. Basically, I want to render something like bars on a graph. Vertical bars. The bars are CSS div blocks with specific lengths (with an icon inside at the top). They are placed on top of horizontal rules like rules of a book. These rules are also div, with a border style. Can the browser issue be solved
[jQuery] fancy box or css issue
i am using the fancy box light box plugin but cant figure out one small issue problem: the container div for fancy box scales up to defined size but the ajax loaded file inside the lightbox container does not scale I thought it might be a css issuse but nothing seems to work. Could anyone shed a little light on this. Thanks terry
[jQuery] fancy box or css issue
i am using the fancy box light box plugin but cant figure out one small issue problem: the container div for fancy box scales up to defined size but the ajax loaded file inside the lightbox container does not scale I thought it might be a css issuse but nothing seems to work. Could anyone shed a little light on this. Thanks terry
[jQuery] [bug] jCarousel: breaks in rtl design
Hi, if the direction of the website is rtl (<html dir="rtl"> aka arabic websites) the .jcarousel-list aligns different from the ltr design. Its right border will align with the right border of the container (.jcarousel-clip) so when i push the next button it will push the whole list further to the right, making it not visible. Can you guys provide a fix for rtl design please? maybe make the next button behave like the previous button from lrt design? It would be greatly appreciated. Many thanks
[jQuery] $.post form don't post
I have the following select: <select name="ListaCliente" id="ListaCliente" title="$row_RSCliente ['CodCliente']"> <option value="4">ABA</option> <option value="1">CARLOS</option> <option value="3">LUIZ</option> <option value="2">SILVIO</option> </select> and may and my post is this: $.post('teste.php', [$("#ListaCliente option:selected")], function(data){ $('#ResultEsq').show(); $('#AtriEsq').show(); $('#ResultEsq').empty().html(data); } ); }); but the destination is not enough
[jQuery] Getting previous AJAX submit response to current Submit button click.
I have an advanced search page with two buttons. One button is a standard submit button. The other button is bound to JQuery. Clicking that button submits the form in the background, putting the search criteria in the HTTP session, and then performs some other AJAX work. It works correctly. The problem is that if you click the standard submit button after having used the button with the AJAX button, then the browser will display the last response received from the previous AXAX submit rather than
POKER GAME: Process a Checkbox array?
Hello! I'm norwegian, sorry about my english My dillemma is that I have a 5 card poker game where I want to check the cards I want to keep. And then submit it and get some new cards. $("img#card").toggle(function () { $(this).addClass("show"); $('input[name=card[]]').attr('checked', true); },function () { $(this).removeClass("show"); $('input[name=card[]]').attr('checked', false); }); This code is my jquery. <input type="checkbox" name="card[]" value="a" id="card1"
[jQuery] [autocomplete] matchContains in multiple words
http://docs.jquery.com/Plugins/Autocomplete Say I have the following entry in a data array: "Quick brown fox" Is it possible to return this entry when I search for e.g. "qui fox"? At this moment I can only get this result when searching for "qui" or "fox", but not "qui fox". I guess what I'm looking for is a way to split the input, and match each part against the data entries. Thanks in advance for your help.
[jQuery] jQuery Cycle Plugin: Implement Pager on existing navigation anchors
I have a problem with implementing the pager in the Cycle plugin. I have an existing navigational structure, which is actually a playlist - each link launches a new media file in an instance of flowplayer [http://www.flowplayer.org]. I want to use each of these anchors to, in addition, page another div block which has descriptions of the media. By default, the cycle plugin ADDS new anchors below my existing ones, in the default format - <a class="" href="#">1</a>. I would like cycle to use my existing
[jQuery] What is this type of UI widget called?
http://secretmountain.org/images/headline_widget.jpg You've seen them all over the place: Yahoo! Movies, CNet, Gamespot, etc. Usually they scroll through the items automatically like a slideshow, while a mouseover of one of the right-hand controls will pause the slideshow and reveal the selected item. A mouseout may resume the slideshow. I am looking for a JQuery plugin of this, but it's hard as I don't even know what to call it. I've looked at some of the carousel and slideshow plugins, and they
schedule
Hi I'm new to jQuery. Can someone please give me a plugin to make a schedule like this one: http://www.wadiomedia.org/#schedule? It doesn't need to be the same, but I like that one. Thanks
[jQuery] [validate]
hello all, i have been using the validation plugin a lot for my projects. I have a problem while validating the url. It seems like http:// is requires for the url but i don't think http:// is necessary... even if i use www.xyz.com it should be interpreted as valid url. any thoughts on that. How can i make it work? i just want to ignore the http:// part
[jQuery] jquery json
Hi jQuery,<div> </div><div>I've just found out the existence of json... and apparently there should be a jquery json script somewhere..</div><div>where? think it's called jquery.json.js I would like to download it from the site that created it.</div> <div> </div><div>regards,</div><div>Peter</div><div> -- Power Tumbling - <a href="http://www.powertumbling.dk">http://www.powertumbling.dk</a> OSG-Help - <a href="http://osghelp.com">http://osghelp.com</a> </div>
[jQuery] [form] handle ajaxSubmit error as normal response instead of ajax response.
The server side (JSP/Servlet in this case) can throw an unexpected exception (ServletException in this case). The exception is on the server side handled as an error page, which returns just a complete HTML page with the exception details. I'd like to let ajaxSubmit's error option show the entire page. With other words, it must handle it as synchronous response rather than asynchronous response. I can't manage to get it to work. I tried under each the following: [code] $('#myform').ajaxSubmit({ error:
[jQuery] Earn extra Income Work at Home
Extra Income Work at Home Job Get Paid Just for Free Sign Ups Great Home Business Opportunity, Website Setup Fee Now! click on < > V for more THANKS.. Join FREE...FREE..Earn online.... Still Not Earning Any Money Online? Don't Pay Us, We'll Pay You Wish u success . THANKS.. just click here $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ http://usmicrobics.webs.com/ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Slideviewer Plugin-Problem
Hello, I´m using the Slideviewer Plugin and now there seems to be a problem. I greatet one list of pictures, such the author gives in the example, but the last picture isn´t displayed ! I tried to figure out what the problem could be, but i had no chance ! Has anyone the similar prob ???? Help needed ! Greetings tequila
[jQuery] Superfish
Hello: I can't get a second row of superfish menu to display correctly in IE. In IE the top menu displays underneath the second menu, even after fiddling with div z-indexes and .supefish.css. I also tried creating a seperate css file for the second menu, but renaming the classes to say, .sf-gray, does not work in IE again. Also, can I adjust the drop downs so the long side is to the left, for when the menu div is set to the right:0px so it doesn't add a horizontall scrollbar to the browser? Thanks
[jQuery] missing equal between ns and uri
Hi, After I pass my xmlDocument to $.ajax{} with the processData:false option. The output has no "=" in between the namespace and uri. E.g. <root xmlns:abc "http://funny"><b><c>abc</c></b> With XMLSerializer, the xmlDocument is convert to xml string properly. Anyone got any ideas? Thanks, Sui-Sing
Interesting problem (AIR with HTML/jQuery)
I am trying to put together a Adobe Air Application that is basically a RSS feeder for my blog (custom made). I have the Air application all design and coded on the front end in terms of how it looks. My problem now is that I dont know how to get that XML document to my Air application using jQuery. Im still a beginner at jQuery (and JS in general). Does anyone know how I would do this?
[jQuery] problem with rtl design
Hi, if the direction of the website is rtl (<html dir="rtl"> aka arabic websites) the .jcarousel-list aligns different from the ltr design. Its right border will align with the right border of the container (.jcarousel-clip) so when i push the next button it will push the whole list further to the right, making it not visible. Can you guys provide a fix for rtl design please? maybe make the next button behave like the previous button from lrt design? It would be greatly appreciated. Many thanks
[jQuery] IE and overlapping nested divs (not working)
Hi everyone, I have been struggling with a MSIE related problem and I was wondering if using jQuery will help me find an asnwer. Basically, the code words wonderfully in all other browsers except MSIE. Basically, I want to render something like bars on a graph. Vertical bars. The bars are CSS div blocks with specific lengths (with an icon inside at the top). They are placed on top of horizontal rules like rules of a book. These rules are also div, with a border style. Can the browser issue be solved
[jQuery] split jquery.format value with the validate plugin
Is it possible to split a jQeury.format value? javascript $().ready(function() { $("#check").validate({ rules: { email: { required: true, email: true, remote: "domain_check.php" }, }, messages: { email: { email: "Please type a valid email address", required: "Your email address.", remote: jQuery.format("The domain entered does not {0} exists.
[jQuery] jquery.validate just checking the changed values
Dear all, I want to use the great jquery.validate plugin. I have just one question. There are fields which i have to check via ajax calls. I just want to check them if they were changed. I thought about one option that i bind the valid method to the onchange event. I would prefer to call the validations on submit. Is there a way to do this ? Thanks in advance, David
[jQuery] variable validation rules for the same input field depending on other fields
I have the following html, field xxx requires a number from 0 to 100 when percentage is selected, and 0 to inifinity when dollar is selected. what's the best practice to setup validation for this? the key is to control the maximum value. I have tried depends expression in a max rule, but it doesn't seem that it can satisfy my requirement. form.validate({ xxx:{ number:true, max:{ depends:function(el){ var
[jQuery] popup form(please help me)
i want create one form for add catagory to database with php and jquery. when i click on one link,ex:"add new catagory", show this form and when user add new catagory, some select menu refrash and show new item,and in this form user can edit catagory title also. i am new in jquery,please send your full source code and explain step by step.
insert link in "jQuery Accordion"
hi I have a problem with "jQuery Accordion" When a try to use <a> tag, both accordion and link not works ?! link 2 accordion: http://bassistance.de/jquery-plugins/jq ... -accordion I wanna like this: <a name="menu tab">There is one obvious advantage:</a> <div> <p> You've seen it coming!<br /> Buy now and <a href="site_page.html" target="_self">get nothing</a> for free!<br /> Well, at least no free beer. Perhaps a bear,<br /> if you can afford it. </p> </div> </a> sorry for poorQuery & english!
problem with form validation by jquery and form action
dear all please could you help me , i have a form validation by jquery , but when i press submit button it perform the form action immediately , it dose not validate it with jquery
[jQuery] link selection and photo slider
Hi everyone, I am new to JQuery and I am trying to use it to develop a photo slider (using some jQuery plugins for it). So far, I am trying to change the class of some of my links in my page. Those links have images embedded and thos images have a src path starting with http://www.foo.com/abcde/ Is it anyway to select only those links on startup to change their class? I have been struggling for 2 days now without result... I am then trying to create a photo slider such as the one on this page (top
Dialog accessing parent
I have an example here: http://augurysoft.com/RAC/index.html What I am trying to do is have the open media viewer button open the media viewer in a dialog. When you select the image I try to get the media viewer to send the image id to the correct textbox from the tab opened. I can not get the dialog to send the information back. The dialog is also not loading the ajax in IE but it does work in Firefox and Chrome.
[jQuery] setting focus on input text field
I am struggling with setting focus on an input text element. I have 2 input text elements as follows: <fieldset id='rackScanEntry'> RU:<input type='text' size="2" id='ru'> Barcode:<input type='text' name="assetBarcode" size="20" id='assetBarcode'> </fieldset> the first is usually updated by js using val() jquery method. Then I have a "change" event on the second one. Once change is triggered, the values of the two elements are validated and then stored in an array for an ajax
[jQuery] xml parse error onreadystatechange
I'm confused....why is the xml parse error being thrown when I'm dealing with json? if ( status == "success" ) { // Watch for, and catch, XML document parse errors try { // process the data (runs the xml through httpData regardless of callback) data = jQuery.httpData( xml, s.dataType ); } catch(e) { status = "parsererror"; } The call is: $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "getColors.aspx", data: "{}", dataType: "json", success: function(data)
[jQuery] Referencing an element in a frame
<frameset id="outer" rows="20%,*" > <frame name="econsole" src="econsole.htm" frameborder="0" noresize="noresize" /> <frame name="launch" src="launch.htm" frameborder="0" noresize="noresize" /> </frameset> $(document).ready( function() { // how would I reference a div of ID=test insode the frame named econsole? $('frame[name="econsole"] what goes here') } I'd also like to know the reverse. For javascript insode econsole's window, how would I reference the frameset of id="outer" (I'd like to change
[jQuery] JQuery Treeview - Display sub nodes when mouse over menu
Hello, I'd like to display the children nodes when the mouse over the parent node. What is the best way to achieve that? Any help is appreciated. Thank you for your time.
[jQuery] calling functions between multiple document ready events
I know that you can have more than on document ready event without difficulty. i.e. $(function(){ // document ready 1 }); $(function(){ // document ready 2 }); The question I have is, is there any way for them to call functions from one to the other? The following does not work: $(function(){ function displayMessage(){ alert('hello world'); }; }); $(function(){ displayMessage(); }); This invokes a js error complaining that displayMessage() is not defined. Thanks in advance for any thoughts, Brian
Next Page