Contact to jQuery
Hi! Does anybody know if there is an email adress or a contact form to send a message to "jQuery headoffice" to ask them a question about licensing? Couldn't find an adress! Thanks!
Problem with Jquery and Jcicle
Hi Guys I'am problem with code below $(document).ready(function(){ $('#right').load('http://dilingerie.com.br/slide'); //---------------------------- $('#menu li a').click(function(){ link = $(this).attr('href') $.ajax({ url : link, beforeSend: function(){ $('#right').hide('slow') $('#carregando').show('fade') }, complete: function(){ $('#carregando').hide('slow') $('#right').show('slow') }, success: function(retorno){ $('#right').html(retorno)
Why does Ajax data send single integer as array?
I'm sure this question has been answered many times in the >5000 posts found with "ajax data", so I apologize for repetition, but at least this should have a simple answer. If I write $.ajax({ ..., data: {id: id}, ...}) then I get a query string like ...?id[]=147 rather than ?id=147. Why is this array form used? According to the docs, the params function is used to convert the data if a key-value pair string is not provided, but $.params({id: id}) returns "id=147", not "id[]=147". What is going
Jquery dialog with modal true is not working
Hi folks, I used jquery dialog plugin to create overlay dialog. Dialog works fine. But i also set property modal=true to hide/inactive all background screen. For some reason it was not working. Here is a dialog sample:: $("#main_pre_note").dialog({ resizable: false, height: 200, width:484, modal: true, title: '<span class="icon"></span> Tittle text', autoOpen: false }); $("#main_pre_note").dialog('open') Anybody have any idae?
Question about a data object for jquery each method...
Is it possible to store a function into a data object for the jquery each method like this... $.each([ {keypress: 65, mcall: x()-player.speed}, .... .... .... ], function(i, obj) { //Do something with keypress and mcall }); I'm learning to put strings and numbers for the value of mcall, but I have a situation where I need to place a custom function x() minus a javascript object player.speed. Is that ok for mcall or is there another way to write this? Thanks!
populate telerik dropdown list using jquery
I am having issues with populating a telerik dropdown list using jquery. I get the following Error: 'get(...).options' is null or not an object On line: $("#courseID").get(0).options.length = 0; Here is my telerik dropdown list: <%= Html.Telerik().DropDownList() .Name("courseID") .HtmlAttributes(new{ @id="courseID"}) %> Here is how I am trying to populate it using jquery: I call the populateDDL function on "StudentID" focusout event,
jQuery Mobile and desktop browsers
Having spent the last year or so working with jQuery Mobile, there are certain aspects of the framework that I think could also benefit my traditional, desktop projects. From a design perspective, I think iPads and other tablets share much more in common with desktop sites than with true, phone-oriented mobile sites, so I would prefer to design based on screen real estate first, and input type (touch vs. mouse) second. Obviously, there are a ton of caveats that could be highlighted here, but what
inserting div content into another div class
Hi, do the needful. here is my code <div class="clsName"> <div class="innerClsName">one</div> </div> <div class="clsName"> <div class="innerClsName">two</div> </div> <!---Add Div here--> <div class="clsName"> <div class="innerClsName">three</div> </div> <div class="clsName"> <div class="innerClsName">four</div> </div> <div class="clsName"> <div class="innerClsName">five</div> </div> </div> i want to insert any one of the innerclass(innerClsName) content
Showing text with specific font
Hello, I load some htm file using jquery Load method into div section. the text in htm has a specific font. When clients are showing these html I'm not sure they will see the text with the font which is only installed in my system. I don't know how to show text on client machine with the desired font, help please.
Find and remove all occurences of class .selected
Supposing i have 3 divs.Div1,div2,div3.Once any div is clicked,i add the class selected to that div.In my example,once another div is clicked,i remove all the class selected from all my divs,even those that do not have selected and add class selected to the clicked div.So far i have this. $('div .kontainer').find('.selected').removeClass('selected');Is this the right approach?.
Star Rating Plugin, replace input fields after whole page is loaded
Hey there, I'm using the jQuery Star Rating Plugin v3.14 in a Typo3 environment where I show the result of a poll. When adding the stars to the "normal" page. Everything is working well. But I have also a detail view (with the stars), which is loaded from the user with javascript (after the full page is loaded). Doing this, the input-fields (type="radio" class="star") won't replace with the stars. Now my question: What do I have to do that input fields (which should be stars) are replaced with
Jquery Mobile and Lazy load
Hello I have a problem with JQ Mobile and lazy load. When i create a 10 first articles, with collapside, is ok, but when i click the button to load more articles, that articles come with no design, no funcionalite (collapse). All works, but i dont know what is this problem. My english is bad sorry =D
Disable # Anchors?
I have some jQuery UI tabs, controlled by # anchors. You click a tab and it opens instantly, but if you want to open 'tab 2' by default you would link to "domain.com/directory/#tab2" The problem is, each tab has a list of data with pagination. A page link example would be "domain.com/directory/?page=3#tab2" This will open page 3 on tab 2, but the page jumps down, when I'd like it to stay at the top of the page. How would I go about doing this? Thanks.
How do I trap and void ESC (CHR 27) keypress on my webpage?
I would like to trap and void ESC keypress by the following code: //Block ESCAPE Keys $(document).keydown(function (e) { if (e.keyCode == 27) return false; }); It does not seem to do anything. Also can some guide me if I void ESC keys this way, would Jquery dialogs which use CLOSEONESCAPE be affected? I want them not to be disturbed by this trap and dragnet that I want to set for ESCape key.
jQuery - Infinite scrolling
I'm trying to implement infinite scrolling on my page, how ever something has messed up, instead of triggering at the bottom of the page it's triggering when I scroll back to the top. Does anyone know what could be triggering this? $(window).scroll(function() { if($(window).scrollTop() == $(document).height() - $(window).height()) { alert("hello"); } }); I'm currently using the code above, which works in jsfiddle just fine. I also tried an alternative of - if($(window).scrollTop()
Terminate a jQuery Mobile Session
Hi, sorry for asking a perhaps trivial question but after a long search I didn't find an answer yet. I want to stop jQuery Mobile to interact with my page if the user hits a link to change layouts. However, even if the page I generate with php does only contain a plain <!DOCTYPE html> <head></head><body><p><a href="./index.php">Non-mobile Version</a></p></body></html> I still got the jQuery overlay and CSS as well as the previous page mingled within the source code as if jQuery mobile generates a
how to pass a parameter to jquery script and set a file path dynamically
Hi everyone, I have a form that contains: <form id="fileupload" action="http://localhost/bootstrap1/blueimp/server/php/index.php?uid=16&" method="POST" enctype="multipart/form-data"> When the form page loads, previously uploaded files are supposed to loaded into a table using the jquery. getJSON method like so: // Load existing files: $('#fileupload').each(function () { var that = this; $.getJSON(this.action, function (result) { if (result && result.length)
Stop Repeating my code, better solution for dragging?
Hi, I have 16 divs which contain 16 images, one in each. My code is below and my question is is there a better way to do this. My problem is each div has its own class to format it. Maybe in my css I use an element for each div and one class. $( '#divCleanTool1').draggable({ helper: "clone", cursor: "move" }); $( '#divCleanTool2').draggable({ helper: "clone", cursor: "move" }); $( '#divCleanTool3').draggable({ helper: "clone", cursor: "move" }); $( '#divCleanTool4').draggable({ helper: "clone",
resizable works incorrect in FF
If you open http://jsfiddle.net/UVsKp/413/ in opera it works just fine. But if you open it in firefox you will see resize icon in the bottom of display. How can I solve this? thanks
How to make a multiple select drop down list
Hello, I would like to know how to make this ( http://www.atlassian.com/resources/better-together ) 2 drop down lists which makes content appear depending on both 2 selected items in the drop down menus, is there any documentation or already made plugin so I can use to achieve this? Please I need help!!!! THANKS!
fixed position issue
http://jsfiddle.net/rajkumart08/8p2mZ/2/embedded/result/ when i click the more options a popup comes but when i reduce the width and height if the browser using mouse... the popup does not move along with more options div... how to fix the issue pls help my code is here http://jsfiddle.net/rajkumart08/8p2mZ/3/
Show image by image from link
Hello I'm pretty new in jquery and I hope you help me. I have images on my server. With php read dir and create xml file like this: <?xml version="1.0" encoding="utf-8"?> <data> <link><img src='slike/aaa/Capture.JPG' ><br /></link> <link><img src='slike/aaa/IMG_20120806_190517.jpg' ><br /></link> <stevec>2</stevec> </data>I want that jquery get link by link and show image. When user click on button Next, show next image. Is this possible?
problem with sliding sub-menu
Hi i have problem with my menus... when i click the menus, then sub menu will be dropdown... but i want to change it to mouse over . not click~ what do i have to change it ? Plz help T_T --------------------------------------------- this is the jquery source ... jQuery(function($){ // Frequently Asked Question var li = $('.menu>.li'); li.addClass('off'); $('.menu .on').find('.depth2Wrap').show(); //li.eq(0).removeClass('off'); //li.eq(0).find('.a').show();
Change plugin-vars "onBeforeInit"
Hi, developed my own Image-Carousel which automatic resizes, when the window is resized or in my case when the orientation of a mobile device is changed. Now I want to change to number of displayed slides in Landscape-View, but i dont know how to change my "Setting"-Vars in my Plugin-Call Here is the basic Code of my Plugin: (function($){ $.fn.didiCarousel = function(settings) { var defaults = { displaySlideQty : 2, moveSlideQty :
using tabs to change multiple divs
Hi Need some assistance in changing some divs using tabs on a website I am building. I currently have it set up so that it changes through a set of scrolling tabs on mouseover of a separate div. I now want to also change another div with separate content as well. This works currently on the first div: $(document).ready(function() { $("#selector").tabs("div.scrollable", {event:'mouseover', initialIndex:2}); }); However is I add similar to change the extra div it only changes the last div referenced
scrolling a realtive number of pixels
Hi, $.mobile.silentScroll(coordY) scrolls to the absolute position coordY. I would, however, like to scroll a relative number of Pixels. In other words, to add some pixels to the actual scroll position. To do so I could either: - read the actual scroll position (how?), add some pixels and use silentScroll(...) - use a command like $.mobile.silentScrollRelative(deltaCoordY) (does it exist?) Any help would be greately appreciated.
Jquery Sliding images on ASP.NET
I am working on website which includes lot of images. I decided to use jquery.i refer to this code Here. In this it shows album of images when you click on album it shows all images thumbnail.clicking on thumbnail it shows large view of that image. It works fine in html page. When i used in .aspx page as I click on album image thumbnail it not showing large preview. It shows text under image. All path are correct. After so many tries I found that it not working in chrome browser in office but same
How to add admob to my jquery mobile site?
Hi, I want to add admob in my jquery mobile site. suppose i want ad in add mob mean, i created add mob in my gmail account.. I created.. now i want pub id.. how to get it?? please explain
Synchronous request timed out
Hi Folks, I am working on jquery mobile with Phonegap! I am having jquery ajax calls where in I am getting data and populating the UI. There is one URL which is taking 30 seconds to get the data. When I am hitting the url using ajax call, I am getting Synchronous request timed out error. The exact log I am seeing in my log is: WebUrlLoaderClient(986): Synchronous request timed out after 10 seconds for the 2th try! I tried to increase the timeout of the ajax call as shown below, but still I am getting
Onclick of an image, dropdown hide
Hi, I am need of a help regarding onclick image in a dropdown. When I click any of this dropdown, I am able to show the dropdown. When an user click any image inside the dropdown, I can able to replace the dropdown arrow with that selected image. But user need to click the next arrow two times to show the dropdown. This is screen shot of the actual, First Screenshot: Second Screenshot: Third Screenshot: My JS: -----------------------------Starts here-------------------------------- var icon ; function
load event not triggering
Hi, I'm loading the div successfully but it is not showing the alert message on load. I want to set click event on the input field which is inside this div. Please somebody help me. . Here's my code. <form method="post" id="frm"> <select id="opt"> <option value="1">Controlled</option> <option value="2">With Notification</option> <option value="3">Periodically</option> <option value="4">Simple</option> </select> </form> <div> </div> <script src="js/jquery.ui.core.js"></script>
Onclick of an image, dropdown hide
Hi, I am need of a help regarding onclick image in a dropdown. When I click any of this dropdown, I am able to show the dropdown. When an user click any image inside the dropdown, I can able to replace the dropdown arrow with that selected image. But user need to click the next arrow two times to show the dropdown. This is screen shot of the actual, First Screenshot: Second Screenshot: Third Screenshot: My JS: -----------------------------Starts here-------------------------------- var icon ; function
PhoneGap (iOS Simulator) - Unable to display/load images [?]
I am currently using jQuery Mobile (PhoneGap) - HTML5 + CSS5 + JavaScript and then I convert it into Xcode that supports jQuery Mobile (PhoneGap) before deploying it to iTunes store but I notice some of the images [?] does not appear on iOS Simulator yet I tested web app and it works (100% - all the images can load/display) but slow loading due to server unlike iOS Simulator because it runs pretty normal. I notice small icons work but not the big icons like size width - 740, height - 430. I think
replace text between tags '<' and '>' regex
Hi, I would like to replace this: e.g.: <p class='test'>....</p> with: <p class="tes"'>....</p> i.e., would like to replace all " \' " with " \" " using regex for all text between '<' and '>' . Regards
I am trying to add nav buttons and a caption to a slideshow. Please help.
Hello all, I have just began experimenting with customizing the features with JQUERY. I have used a few ( but not many) plugins in the past but could not find a free one that alows me to do what I want. Anyways, I have started with the JSFIDDLE code found in another thread on here (https://forum.jquery.com/topic/how-to-make-an-image-clickable-in-jquery-slider) and it is working great! However I need to be able to add a pevious and next button as well as a caption that shows on hover. the Idea is
datepicker regional dateFormat
Hi there, I am trying to use the datepicker on my site. But I cannot get it to change to using 'dd/mm/yy' dateformat for New Zealand dates. As soon as I select a date from the datepicker popup, the format in my textbox changes to mm/dd/yy Here is my code, can someone tell me what I am doing wrong please?? $(function () { $("#datepicker").datepicker({regional: "en-NZ"}); $("#datepicker").datepicker({dateFormat: 'dd/mm/yy'}); });
Cycle plugin blocks drop down menu items
I am not sure if I am alone. But when using Cycle plugin, whenever an image fade out, it will block drop down menu items from a UL above. For example: http://site1.ewart.library.ubc.ca/node/255 "Category" has drop down (sub) menu items and those sub menu items are constantly blocked. How to fix that, via CSS or JQuery? ie. change z-index of the slideshow items (or its parent DIV)? Thanks.
Possible to show last two pages side by side on larger viewport/screen sizes?
Using JQM for the first time and attempting to build a web app which has the standard 'single column' view on smaller viewports but a double (or even treble) column view on larger viewports by using responsive web design CSS. Is this possible with JQM? I can either have all the JQM 'pages' in a single HTML page or AJAX'd in (if that makes any difference)? For example: // 'mobile view' #page-1 page header list item list item list item list item // 'tablet+ view' #page-1 #page-2
onclick goto a URL...how?
Hey guys How do I complete this so that when a user clicks on on the div rollOver, it loads in a new html page into the current browser window. $('rollOver').click(function(){ // load URL index.php }); Thanks so much in advance Vic
script broken when change to 1.7 version
HI friends! I need your help... when I change to jquery new version (1.7), my menu script was broken, could anybody help me to fix it? thanks!! function mainmenu(){ // Oculto los submenus $("#nav ul").css({display: "none"}); // Defino que submenus deben estar visibles cuando se pasa el mouse por encima $(" #nav li").hover(function(){ $(this).find('ul:first:hidden').css({visibility: "visible",display: "none"}).slideDown(400); },function(){ $(this).find('ul:first').slideUp(400);
Next Page