Ajax Jquery file download
i want to download a XML file using jQuery's .ajax() call in that i am specifying action class URL. in action class i am creating one file and writing in that file. but its not working i am getting error in .ajax() function..
1 Ajax request performing 2 GET requests and not supposed to.
Strange behavior when performing a ajax request. from this function: function ajaxDialog(AjaxUrl, type, targetDom, dialogedDom, tabs, tabIndex) { $.ajax({ url: AjaxUrl, type: type, DataType: "html" }); } I can see two GET requests bein perform. There is no way I could be happening But it is. Could someone gimme some help? Thanks Guilherme Longo
Scrolling breaks animations - Safari Mobile
Hi! I'm using jQuery 1.8 on my mobile website. I see that on Safari Mobile (iOS 6, iPhone) my animations (.animate, fadeIn, etc) breaks when I start scrolling the page during animate! "Scrolling" - I mean default browser scrolling - nothing special. Any ideas ..? :) M.
Gridster Plugin new items added to the right instead of bottom
Hello there, so i am using this plugin http://jsfiddle.net/maxgalbu/UfyjW/ …(its a modified version of gridster) and i would like to know how i can change it to expand to the right when new items are added...when you add a new item it gets added to the bottom and the rows increase...but the number of columns is fixed..i would like to make it like the windows start screen when you reorder stuff...
Set Focus if Email id Exists
Dear All Writing a program for membership registration. If a member is already registered , i want JQUERY to display 'Member already exists <tr class="text12bgf3"> <td height="26" class="text12bgf3" align="left"><span class="textblue">Email</span></td> <td class="text12black"><span class="textblue">:</span></td> <td align="left" class="text12"><span class="textblue"> </span> <table width="100%" border="0" cellspacing="1"
Default icons different color on iPhone/iPod from default
Simple story, can't figure out what the problem is. I built a custom theme and set the default icon color to black. Looks fine on tablet, but my iPhone and iPod are showing white icons instead. I figure there's a media query somewhere, but can't find it. Another weird thing: the icons in the navbar are still default and they're still black. So they're both on the same page, but display different color icons.... Anyone else having this problem or know what might be causing this issue?
jquery mobile.js only works when I refresh page
I am using jquery.mobile-1.2.0.min.js, I have link in home page to inner pages. But some times inner pages animation not working, but when I am refreshing the page its working. Please help me. I will explain, there is some link on the home for navigate to inner pages. See the link- http://www.topswitzerland.ch/index.html And inner containing data in several rectangle boxes , when we click on the filtering tab on the top area of page, that's not working. It means no result. But after we press the
Swipe through multiples pages
Hi all, I'm working on a web app which have 3 pages. There is the possibility to swipe from these 3 pages, but there is a problem if I swipe too much. Here is an example: http://jsfiddle.net/phillylovepark/gZNQZ/1/ If I swipe until page 3 and then swipe back until page 1, during the swipe between page 2 and page 1, the web app will swipe from page 2 to 1, then go back to page 2 and finally show page 1. This is very strange because the problem appears only after 4 swipes. Has anyone already faces
Auto load more after reaching to the bottom of the page
Hello, does anyone know what jQuery script is similar to facebook or 9gag when you scroll to the bottom of the page and it auto load more results? Thank you so much
Buttons - How to get default right click menu.
I notice that when using jQuery-ui buttons, the default right click menu is no longer available in IE. The default menu having the options like: Open link in new tab Open link in new window Bookmark this link Save link as ect... As long as I have a valid href on the button, the menu still works in FF, but not in IE. You can see this by going to: http://taitems.github.com/Aristo-jQuery-UI-Theme/ right click the UI Button examples in IE and you won't get the default right
Where to find datepicker i18n?
Hello! What is the intended way to find datepicker localization files? I have been searching the jQuery pages here but I can't see a download anywhere. Before I turn to Google, how am I supposed to find the files by navigating around in the jQuery ui pages? /Daniel
How to add new input field dynamically
Hi, i am new to jquery. in my application (billing application in php) i want to add dynamically some input fields like product name, quantity, price and amount fields. how to add n numbers of input fields (as an array) and read the field in next page using post method. Thanks in advance
datepicker & IE8
Hi everyone i'm developing a facebook app and i've some trouble in using it with IE8. The idea is that i have to develop a form, that has got 3 datepicker linked to 3 input text. In firefox, safari and chrome this app works well, but in IE8 the calendar doesn't appear when i click in the input text. I don't really know what to do to make it works. In attach you can find the source of my app. Thanks to all Gaetano
Problem with iframe scrolling using data-role="popup"
I'm fairly new to JQuery, and I'm now using it just to get a popup functionality in a page where I need to show the content of other web pages inside popups. The problem is that in Safari, on an iPad with iOS 6.0.1, the JQuery popup seems to break somehow the iframe scrolling. Here are the relevant code snippets: JQuery imports: <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" /> <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script
Vertical button in jQuery UI
Is there anyway to do a vertical button in jQuery UI? I wanted to use a button for a jquery slide-out tab but it has to be vertical which travels along the right side of the slide-out. For accessibility reasons, I'm thinking the button (if I can do it) would be preferable to an image of done via CSS as it also has to work with IE7. Any help would be appreciated :-) Thanks, Don
how to block click one more time if it is dblclicked before
hi how to block click one more time if it is dblclicked before. below code's output is 1 but if you click fastly, you will see alert "1" twice. I want one time! var divclick=0; $('div').on("dblclick",function(){ divclick++; alert(divclick); }); many thanks
Attaching scripts directly to DOM elements
Is this a really bad idea? I'm currently working on a pretty complicated mobile/web app based on jQuery Mobile, which pulls in pages using AJAX, and uses it's own system for caching/removing pages. I've recently found myself wanting to be able to attach a script directly to a particular element in a page, which isn't something that's currently possible. (When I say page here, I really mean a jQuery Mobile <div data-role="page"> element, being loaded via AJAX, rather than a full, "real" page) As it
Need help for not being so redundat
Hello! So, I'm developing a web page and I wrote a little jQuery but I think it is really redundant. The structure is simple: 3 divs positioned beneath each others. 2 of them begin on display none, so if you click on its menu item, the div will appear and the others disappear (so you can navigate through 3 pages in only one page). There's also an active menu that changes. But I could only do it by repeating a lot of lines and being a lot obvious. <script type="text/javascript"> $(document).ready(function()
Confirmation Dialog does not format HTML
Hi, I added a div to a confirmation dialog. I then used the following to add a list to the div. $("divData").html("<ul><li>item1</li><li>item2</li></ul>") What displays in the dialog is : Item1 Item2 None of the expected formatting (ex.bullets) appear. I had similar problems with other html formatting, but some items such as <b>this is bold</b> work. Does anyone have any ideas on what I am doing wrong? Thanks, Jerry
Iframe load not in _blank window why?
My webapp http://androidtools.androidcodex.ch have an iframe at bottom but the iframe load in the frame and not in new window (whit mobile device). Computer works but Smartphones and Tablets not? Why? Thx
JQuery Mobile select in listview, binding with Knockoutjs
I have an issue when I'm trying to use a select in a JQM listview. I have a listview to list a couple of computers and in every listitem the user are able to make some changes to the computers via dropdownlists. I'm using knockoutjs to bind viewModels to the view. Here is my listview: <div data-role="page" id="page1"> <div data-role="content"> <ul id="editComputerList" data-role="listview" data-inset="true"> <li data-role="list-divider"> <div class="row"> <div class="column"> PC </div> <div class="column">
Rotate images with ASP .Net/Jquery
Im a little stuck with this task which i thought was simple. I have an ASP .Net form with some JQuery to change the image. At first i thought it was the array of images not being found in my project but now im not so sure what the issue could be. Here is my code: <%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Site.master.vb" Inherits="TempCollection.Site" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript">
$(document).ready(function () {
// Handler for .ready() called.
var imgs = ['http://i.s-microsoft.com/global/ImageStore/PublishingImages/logos/hp/logo-lg-1x.png',
'http://i.s-microsoft.com/global/ImageStore/PublishingImages/logos/hp/test.jpg'];
var cnt = imgs.length;
setInterval(Slider, 3000);
Hi I am using jquery.mobile-1.2.0.min.js, and its only work when the page refresh
Hi my name is Pavi and I am new on this. I am using jquery.mobile-1.2.0.min.js and I have link on homepage to navigate to innepages. See link http://www.topswitzerland.ch/index.html Inner page http://www.topswitzerland.ch/swiss_watches.html When click on the inner page it perfectly going on that page and in that page containing some data's , thats displaying with animation. But some times the animation(you can see when you click the link) is not working. When I am refreshing the page its working.
jquery auto slide for this slideshow ?
Ok I downloaded this slideshow and I want to add a Autoslide on my slideshow can someone please tell me how to do this Please download this rar for the slideshow and put it autoslide please.
plugin with functions for each element
Hello, I do not know how to explain it, but I'll try ... I have two or more elements, I would create, for each element, a box that controls some functions for that particular element. An example that could be cited are wysiwyg editors that can be applied in multiple textarea, and does not interfere in other's behavior. I'm having trouble researching this, if they have any explanation or reference would be of much help.
Increasing height and length of autocomplete box
Hi all I want to change the size of the autocomplete box, the box where we type in the words. Can somebody please help me with this. Thanks hafiz
How can I display jQuery dialog only for matched result??
Hello, I have create my simple PHP webpage and the following is my problem. My PHP page request 1 QueryString named "Result". I would like to show the Dialog after page loaded only when Result value equal to 1. For others, no dialog appears. How can I do this? Already tried the following code but it doesn't works. Please advice. Thank you very much if ($_REQUEST["Result"] == 1) { echo '<script type="text/javascript" language="javascript">$("#dialog-form-congrat").dialog( "open" );</script>'; }
getting a mega menu item(li) to drop down to show on home page
Hi I am using mega menu on a wordpress site. I'd like to have the first menu item display it's drop down contents on the home page and also for the the hover state to be active. What I need to do is switch the classes on the menu item 245 to it's hover state and to load the nested ul into the subcontainer div. The nested ul and li's of the submenus don't seem to load until the top level item is clicked but I could be wrong. Thats how it looks in firebug anyway. here is the default state: <li id="menu-item-245" class="safety
jQuery Menu Select State Problem
Menu with select state I'm probably missing something obvious, but I can't get the select state to display the assigned text color (#333). And the previously selected item doesn't update it's text color correctly either.
Making a timer start on click on textbox and then dissapear to be locked?
I'm new with jQuery and I haven't been able to find a way to make it so that as soon as I've clicked a textbox/field a timer will start, visible on screen and after 2 minutes, the textbox will dissapear and it won't come back even if you reload the page. Someone please help?
Searching a Rental Form
Dear Forum, I am searching a solution where users can see several products in categories, see the price, image and description and then choose which items he would like to rent. So a user should be able to rent camera x and a lense y and he see at the end the price and can choose the rental date from and to. after that he recieve a confirmation email and the rental company too. Can somebody help me to find a solution? The other thing is, it should be easy to manage the rental items..add new items,
Jquery Mobile 1.2 Popup Question
I want to open a popup window when a given page loads. I have tried the following code?: <script type="text/javascript" charset="utf-8"> $("#testView").live('pageinit',function() { $('#popupBasic').popup("open"); }); </script> <div id="popupBasic" data-role="popup" data-theme="a"> <p>Your changes were successfully saved.<p> </div> I get the following error when the page loads "activePage is undefined". The error is located on line 7109 "currentIsDialog = activePage.is( ".ui-dialog" );"
jquery click li
when we click each li it should display corresponding fruit name in an alert.... how to do it without changing the html structure <ul> <li>Apples</li> <li>Bananas</li> <li>Lemons</li> <li>Oranges</li> </ul>
Jquery Date Range for Internationalization
Hi, I am using date range picker to select date range to display report for a given time frame. This works great for english site. Now I want to see if I can use the same plugin for international date formats like arabic, brazil, Great Britain and French. Please help, and a sample code will be really helpful. Thanks.
Combining jquery show/hide scripts
I have 2 scripts that I am using and I haven't been able to figure out how to basically merge them into 1. any help would be much appreciated since I've come to a brick wall: The first script is a show/hide when pressing a Expand all and collapse all button: $(".hide").click(function(){ $(".screentitle").hide(); }); $(".show").click(function(){ $(".screentitle").show(); }); The second code I use is the image swap for slideToggle: $(".chaptertitle").live("click", function(){ $(".screentitle", this).slideToggle("fast");
Weird overlaping tab
Hello everyone, I am working o a project where I use jQuery UI Tabs, but unfortunatelly something is wrong. Content is generating on the go and it's kind a frustrating because 4 of 5 tabs are ok but last one is getting different style and overlap under proper content. Also I am using tabs on other part of site and it works perfectly. Just go and inspect css or jQuery at www.lokale360.pl This is ASP.NET code responsible for rendering tabs. #Ufff. <div id="adverts-tabs"> <ul> @foreach(var
facebook like box for blogger using jquery with delay
Hi All, I am using below code for displaying facebook popup like box for my blog.Currently it displaying as soon as somebody open my website.I would like to display the popup box after 3min.can somebody help to edit this code to achieve this below is my code <style> #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} #cboxOverlay{position:fixed; width:100%; height:100%;} #cboxMiddleLeft, #cboxBottomLeft{clear:left;} #cboxContent{position:relative;}
problem with slidetoggle
In this website i try to use a navigation with a pulldown menu. Unfortunately i'm totally new to using js and i have no idea how to solve problems like this. May can you help me with either giving me instructions about how to solve problems generally or/and solving the given problem for me? Thanks <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type"
General Question about Javascript and PHP
When i normally code a site/app i always store variables in a php file called config and include it in the index and whenever i need the variable i just echo it! Like so $sitename = "SiteName"; <title><?php echo $sitename; ?></title> Is there a similar way of doing this with javascript/jquery ? I know this question might be a little strange but i am curious if any have an easier way or storing site variable and calling them whenever necessary instead of using php?
Page stay loading and disabled
I have not used Jquery until now y i like to know if some one can help with some issue: The point is that i like to refresh the full page content when the value of a list changes. The code was embeded insise a codeigniter app: The list box is as follow: <div id="id_municipio"> <select name="co_municipio" id="ix_municipio"> <option value="">Seleccione un municipio</option> </select> </div> The event used to control id_municipio changes is: <script type="text/javascript"> $(document).ready(function
Next Page