JQuery File Upload on IIS running PHP - 405 Error
I just install "JQuery File Upload" plug-in on an IIS 7 server running PHP. I am getting a 405 error, which is a POST error when I "Start" the upload. When a look at the log it is showing a POST to /server/php/ without calling any program. I think the plugin is designed so that it assumes that the web server will run the default file that is located in /server/php/. I'm guessing that this would be the UploadHandler.php - but it is a guess, I'm not sure. I've tried debugging in Chrome so that
Selctor no more working
Hi, I just upgraded from version 1.6 to 1.10 ; there are things that are not working any more. Exemple : .myclass input:checked => not working .myclass input[type=checkbox]:checked => working ! but why ? Another issue: I have a div whose ID is "myid". In some case (it shouldn't but it happens) this div may be repeated twice. Applying $("#mydiv").remove() removes only one instance at the same time. I have to repeat the .remove() to remove all div ! Is there an explanation to these cases ?
jquery slide show
I have a jquery slide show that pick it's images like below, <script type="text/javascript"> //some code // slides: [ // Slideshow Images {image: 'kazvan-1.jpg', title: 'Image Credit: Maria Kazvan', thumb: 'kazvan-1.jpg', url: 'maria-kazvan/' }, { image: 'kazvan-2.jpg', title: 'Image Credit: Maria Kazvan', thumb: '/kazvan-2.jpg', url: '/maria-kazvan/' } // some
Datepicker
How come when i use the datepicker it is large on my page not like the example what do i need to change?
code running before fadeIn() & fadeOut() complete
Simple newbie question as I start learning jQuery. I am experimenting with a simple "marquee" that fades in and fades out each element of a string array. To make it perpetually looping I follow the array traversal with a setInterval( ) to repeat the marquee function. 1) the loop executes only once even though setInterval( ) is called (verified in Firebug debugger) 2) the "third string" is displayed all three times through the loop 3) other code inside or outside the loop (as in the 'alert( )' example
JQuery UI Elements' Image not shown
Hello, I downloaded jqueryui, put files in the right place, everything is working well BUT I have no image (little buttons) of jquery. It doesnt use thoses icons:http://download.jqueryui.com/themeroller/images/ui-icons_222222_256x240.png And I have no error message (like 404). Anyone has an idea? Farcossard
Scrolling Selection not registering
Hi Guys, I've got a selection list made up of divs, that I had problems with getting to show, so I used overflow-y:auto to get it to scroll. You can see the selection items, by clicking the Search.. input box. BUT, now when scrolling beyond the first 4 items showing, when you click, it doesn't register the selection. Can someone help me figure out what needs to be done to allow selection throughout the entire list. Demo: http://www.partiproductions.com/searchertest2/index.html Thanks, Bill
link doesn't work from placed html (scope?)
Clicking button1 works. Button2, which is placed by clicking a div doesn't work. Is this a scope-problem? Is there a workaround for this? thanks, Albert $(function() { $(".OK_button1").click(function() { alert("OK_button1 clicked"); }); $(".OK_button2").click(function() { alert("OK_button1 clicked"); }); $("#clickdiv").click(function() { $("#clickdiv").html("<form><input type='submit' value='OK_button2' class='OK_button2'/></form>") }); }); <form> <input type="submit" value="OK_button1" class="OK_button1"/>
Mobile Application Security Testing
Mobile Developers...Help Us! Two graduate students need your help and will give you a chance to win a $10 Amazon Gift Card for 5-10 mins of time. Please complete this 10-question Survey Monkey survey about mobile software development and security testing preferences. We appreciate your help! Survey closes Dec. 6th. Gift card will be sent to the winner by Dec. 10 www.surveymonkey.com/s/BGG5YWD
Capture scroll event on a particular jQuery Mobile Page
How to capture the scroll event on a particular jQuery Mobile page? Page: <div id='pg_remote-address-book' data-role='page'> <div data-role='content' id='pg_remote-address-book_content'> <ul data-role='listview' id='ul_address_list'> </ul> </div> </div>On pagebeforecreate, dynamically loading items inside the unordered list for ( var i = 0; i < 100; i++ ) { $("#ul_address_list").append("<li>"+i+"</li>"); }Capture Scrolling $('#pg_remote-address-book').scroll(function () { console.log('scrolled');
Question: Filtering with Checkboxes
Good Afternoon, I am wanting to create my own "product filter system". Basically I want to be able to click on products to go to the products.php page, this will show all my products on my website. On the left some checkboxes like "Show by Brand" with a list of brands. If you check the box for 1 of the brands, it will edit the list of products to only show products for that brand. Then another one that shows "capacity". Say I clicked "Apple" for brand, then "32GB" for the capacity. This will then
When the element is created the click is fired
When the system exec this code, the event click is fired. What's going wrong? $("#box-btn").html(""); $("<a>").prependTo("#box-btn") .attr("href", "#page3") .attr("id", "final") .attr("data-theme", "a") .attr("data-transition", "flip") .attr("data-role", "button") .html("Final"); $("#page2").page("destroy").page();
Is it a bug?
When I enter 'ok',and then click the button, the alertdialog does not appear. <!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" content="text/html; charset=utf-8" /> <title>无标题文档</title> <script src="jqueryV1.10.2.js"></script> <script> $(function(){ if($('#info').val() == 'ok') { $('#test').click(function(){ alert("You have tested successfully!");
Dialog position offsets during drag on Firefox
I have an accordion from which a button on each tab opens a Dialog. On Firefox (latest version Win 7 64 bits) the following annoying bug appears. This not happens with Chrome. BTW: jQuery 2.0.3 jQueryUI 1.10.3 If the tab is on the initial screen, the dialog appears and I can drag around without problems. But if I have to scroll the accordion to reach the tab, then the dialog appears but as soon as I start dragging it around, the dialog springs downward by a fixed amount that seems equal to the amount
How to clear the cache and destroy sorter,pager in tablesorterpager - (v2.14.1)?
Hi There, I am facing an issue with the latest tablesorterpager plug-in that my data is cached even if i try to destroy/updateall, here is what i have tried, $('#tablechart').trigger("destroy").trigger("destroy.pager"); $('.pager *').unbind("click"); $('#tablechart').tablesorter({ -- configurations }); $('#tablechart').trigger("updateAll"); Can anyone please suggest if you had come across this? Thanks
questions in using sort()
When I sort the percentage column,there won't display the right results. Is the sort() method not applide to sorting numeric variables? <!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" content="text/html; charset=utf-8" /> <title>Sort</title> <style type="text/css"> tr{ font-family:Arial, Helvetica, sans-serif; font-size:15px; border:1px solid
Do something after scrolling certain distance from any point on the page
Hi all, I have a fixed position navigation which opens from the side of my page. I want it to close when the user scrolls 300px in either direction from whatever position they are on the page. i.e. they could be at the top of the page or somewhere in the middle. So if the nav is open and the user scrolls 300px (in either direction) a class is removed from the nav. I've tried using the WayPoints plugin and scrollTop but these seem to reference elements which are at certain points of the page so it
jQuery Mobile Web Development Essentrials: Second Edition.
Review Copies Available for 'jQuery Mobile Web Development Essentials- Second Edition' by Raymond Camden and Andy Matthews. A book packed with examples that will help you create brilliant mobile optimized websites.Feel free to check out the book page for an overview. If interested in receiving a copy you can reply back or simply email me on priyankapinto@packtpub.com with the following details: 1. Name and email address. 2. Where you will be posting your review (Blog/Website/Amazon/Goodreads/Google
Plusslider plugin implementation:jquery plusslider arrows are not display except on mouse hover.
hello..i am using jquery plusslider with easing plugin..it is work well for me except one thing that is it doesn't dispaly the arrows by default.it will only display arrows when the mouse hover of it. so please tell me to see arrows by default.
[jQuery Validation Plugin] Conflict with Film_Roll plugin when adding a .rules to an element
Hello, I am using the Film_Roll plugin (https://github.com/straydogstudio/film_roll) It stops working when I try to add a rule to an element as indicated in: http://jqueryvalidation.org/rules I have tried inserting the code in different places but it always breaks the Film_Roll plugin. If you need any more info, please let me know.
How do I fix my data-filter going from 1.2 to 1.3?
Making a demo of this app I used JQuery 1.8 and JQM 1.2. Now that I want to get it ready for production I bumped the versions up and my data-filter stoped working. I have a listview: <div id="listPlaceHolder" data-theme="a" data-role="listview" data-filter="true"></div>After fetching some data I'm adding an accordion to it using handlebars: <script id="event-template" type="text/x-handlebars-template"> <div class="dataitem" data-role="collapsible" data-inset="false" data-collapsed="true"
Unable to get drop down value
Hi all, I am new to this implementing this in my asp.net website have master page and content pages .On master page have included the latest library <script type="text/javascript" src="jquery-1.10.2.min.js"></script> on content page this <script language="javascript" type="text/javascript"> $(function() { $("#ddlFreq").click(function() { alert("sd"); }); }); </script> <asp:DropDownList ID="ddlFreq" runat="server">
Cache?
Hi, i've built an application with jqm 1.3.2 and it works very nice. I rember, I had problems with the scroll-position after history.back() but could solve that relative simple by setting an option data-dom-cache. After setting this option all cached pages remembered there scroll-position, the states of expanded collapsibles and so on. Very nice behaviour! But now there is one page in my application that doesn't remember anything and I got now idea, where to search for this bug. Every page uses the
Append html with executed code in the embedded script tag
Hello, jquery tools forum in now unaccessible so I post my discussion here for now. I'd like that the code in script tag of the HTML appended in body (line number 13), to be executed Here is the code : <!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" xml:lang="fr" lang="fr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>mypage</title> <script type="text/javascript"
The complete function after an animate is launched more than once!
Hi... I want to launch a function after that an animation is complete. The problem actually is that this function is launched a lot of time without a reason! This is the code $('#fullWhite').animate({opacity: "1"}, {duration: 500, complete: function() { alert('cazzo')
jquery form disable and enable with another form
hii please help me ............ i have a login form, if i press the forgot password login form is disable replace with forgot form .. how can i do thisss........
return from each
Hello please help to solve the problem. I have this type of constructions. That geting id from the link clicked. (front & back values). Construction bottom getting wear types (tshirt, etc). $('.side a').each(function() { $(this).on("click", function() { var sside = $(this).attr('id'); }); }); // I need sside here. How to return it? $('.wtypes a').each(function() { $(this).on("click", function() { var stype = $(this).attr('id'); return stype; }); }); // I need stype here. How to return it? I need
Dynamic order rows in a table by id
Hi guys! I have a requirement to order rows in a table using Java Script (JQuery) My table is look like: <table> <tr id="3"> <td>C</td> <td><table><tr><td>Row C</td></tr></table></td> </tr> <tr id="1"> <td>A</td> <td><table><tr><td>Row A</td></tr></table></td> </tr> <tr id="2"> <td>B</td> <td><table><tr><td>Row B</td></tr></table></td> </tr> </table> And the final result is to be: A Row
jQuery method show
How to set 'display: block' by method jQuery(selector).show() without jQuery(selector).css()? Now this method setting 'display: inline'
jQuery Nested Tabs useing
Hi! I'm newbie in useing jQuery. I have a problem with Tabs. I have elements with same ID's on two different tabs. For example datepicker input fields. But when I clicked on the second tab's datepicker input field the first tab's filled out. It is suggested to use elements by different ID-s on a whole page? Or it is possible to delete the last selected tabs content when I clicked to another one? How? I use the following code: $("#tabs,#sub-container-1,#sub-container-2").tabs({ select: function(e,ui)
Loading with Overlay over the whole page
Hello, How can i configure the loading wiget to show a dark overlay behind the loading gif over the whole page? Thanks for replays. best reguards, Kevin
Scrolling using keyboard does not work in autocomplete JQgrid
I am not able to scroll the Autocomplete list of items using keyboard down/up arrow. In my JQgrid i have a textbox with autocomlete functionality. When the auto suggestion list appears, I am able to scroll through the list of items using mouse. But the scrolling doesn't happen when I use Keyboard. Please Help. My CSS portion for auto complete is .ui-autocomplete { position: absolute; max-height: 200px !important; overflow-y:auto !important; overflow-x: hidden; padding-right:
mixing JQuery Mobile with JQuery UI widgets... don't ?
Forgive me if this seems like a silly idea to begin with, but to "tide me over" while certain JQuery Mobile widgets do not exist yet (calendar, tabs etc.) I thought I'd just load up JQuery UI and bring those widgets in from there. It was not pretty. Are the two not supposed to co-exist ? Wouldn't it be nice to leverage JQ UI widgets in JQ M applications ? Or is their CSS / js base too different to make that practical ? Or - should it work and I just screwed up in which case I will try again :)
widget namespacing & plugins
I'm working on a project using UI Widgets - they're really great. I've run into a namespacing problem and I'd like to see what you think about my solution. I'm building a survey interface, and want to use a 'survey' namespace. So I have a number of widgets like: survey.core survey.render survey.form etc. This worked fine until I wanted to use survey.select - the problem is that the plugin will be called $.fn.select which is already taken, and I don't want to step on existing functions. The documentation
[jQuery] Resolving Namespace conflicts
Hello, I'm planning to distribute my website's services to my clients using javascript, much like google map or ShareThis service. Basically my clients will include my external javascript file in their html header. I'd like to write my javascript code based on jQuery, but worrying about all those namespace conflicts. I have no control over what javascript library my clients' websites use, they may use prototype, mootools, they may even already use jQuery. What are the possible solutions to avoid
[jQuery] Move of namespace
It is possible to completely move a particular plugin namespace into other one? e.g. if (typeof Company == "undefined") { var Company = {}; } Company.form = {}; Company.form.validator = jQuery.validator; // Assume already loaded // Now I want to modify some of its internal value Company.form.validator.messages.required= "My Required"; // However, it is different from alert( $.validator.messages.required ); // Show the original value, seems only a copy of validator is assigned to Company.form.validator,
mousemove strange behavior in IE
Hi, URL: http://www.ximnet.com.my/jquery/mousemove.htm I try to do something like Google.com. When page is loaded, the div will fadein when user move the mouse. $('#html').mousemove(function() { $('#menu').fadeIn(5000); return false; }); It is working in Firefox, but in IE, it will fadein even if user do not move the mouse. Anyone know what is wrong? Thanks,
[jQuery] Tooltip with Lightbox
Hi! I've been using the jquery.tooltip with Lightbox, but the Tooltip 'steals' the title attribute value and the Lightbox can't show it! What can I do to solve this? Any suggestion? Have anyone had the same problem?
[jQuery] Specifying user agent with ajax
Hi, how do I go about specifying the user agent when I'm using ajax in jQuery? I've tried $.get("test.html", { data: 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: 1.8.1.3) Gecko/20070309 Firefox/2.0.0.3' }, function(data){ $('#testDiv').append(data); } ); and $.get("test.html", { User-Agent: 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: 1.8.1.3) Gecko/20070309 Firefox/2.0.0.3' }, function(data){ $('#testDiv').append(data); } ); but I don't think either of those are working.
If data-position="fixed" is used; pinch zoom not working on iPhone (iOS6)
Using jquery-1.9.0.min.js and query.mobile-1.3.0-beta.1.min.js Noticed if data-position="fixed" is used (for navbar in my case), page cannot be zoomed using multitouch on iOS 6. So had to avoid using fixed positioned toolbars. Any idea to overcome this issue?
Next Page