idle time out not working when phone is locked
Hi Team, I have implemented Jquery plugin where in it redirects to a page based on the idle time out say 1 minute . It works fine when I dont lock the phone but when the phone is locked for 2 minutes while I open the application keep it on iphone chrome and lock it(assuming idle time out is 1 minute) .whne i unlock it it doesnot go to the redirect page unless i refresh the screen. is there a way to make sure that the page is redirected after we unlock and go back redirected page . All of my pages
off not working with after
hi guys off is not working when adding an onclick to an href using jQuery's after off will work when attaching an on('click') handler to the element, added with after though. any ideas why?cheers
IPhone 4 Slow Input Text Field
Has any one come across this error? When the user go to my website it takes them very slow to load, and when they try to click on the input text field, it take 15 for each character to load. This only happens on IPHONE4 and not 3 After turning on the phone debug mode this is error I got Error msg: JavaScript Error on Line 41 https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js TypeError: Result of expression 'A[0]' [underfined] is not an object
jquery keypad
i´m using the keypad in a table with different number of rows. The keypad appears and disappears as the interested fields get focus or lost. Everything ist fine... But...and thats the problem, this table is in an iframe with the ability of scrolling... If i have a lot of rows, and want to enter some values at the end of the table, the keypad appears, but it´s not visible at all and i can´t enter every value i want. If you use the keypad on an "normal" field, in my opinion the "_checkOffset" decided,
Jquery editor
Is Any offline Jquery editor available for learning?
How do I add to the control after the loop
Here is the function. How could I speed this up by adding to the control first after the for loop. function DisplayVessel(voyageArr) { for (var i = 0; i < voyageArr.length; i++) { $('#DDLVesselName').append($("<option value=" + voyageArr[i].Vesselid + "></option>").text(voyageArr[i].VesselName)); } } //Tony
Space above and below a single checkbox
Hi, Im trying to put a <li> containing a checkbox element and label in amongst some other <li>'s that have some basic text. however i cant get rid of the space above and below here is the fiddle, hoping someone can help http://jsfiddle.net/UhcUq/2/
Animate menu not acting the way I expected. Am I using the wrong function? Position?
I am attempting to create a menu that on click, moves up a certain amount of px and hides about 80% of the div at top of page, then on click again, it moves back down same amount of px to original position. The dix is moving on click, but it is moving down, a lot, first and then goes up and down. I have the position set to absolute, and I am using animate. I can get the div to hide and show with toggle, but then it hides the whole div and I only want a certain portion of it hidden. Thank you for
JQM ThemeRoller additions?
I've been playing around with the ThemeRoller and it's great tool! I do have 2 suggestions - - I would love to be able to define the text size along with the color for each item. - I would also like to define if the control should default to mini for each control. Thanks! --Christy
Autocomplete with a asp.net web service
Hi all, This is my first steps with Jquery UI. I found some code and examples but my code isn't working... The goal: use the autocomplete with an ASP.NET WebService method (2 parameters) When I call my Webmethod with parameters: prefixText="50" and count = "10" I get <?xml version="1.0" encoding="utf-8" ?> - <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="ORES.SharePoint2010.Common"> <string>5000</string> <string>5100</string>
Jquery doesn't work when the page is loaded using Ajax
Hi there, is there anyone here who can explain why when a page was load using Ajax,that has a Jquery script inside that page the script is not functioning, but when I load the page directly to its url it works. Thank You and God Bless.
.live blur is not working
Hi, My .blur event is not working when I use in append() div. Also I use live but still this is not working. When I recall my function in add function then its call for all next row. Below is my code: function tableOrder(){ $("#orderTable tr").each(function(){ $(this).find("input:first").live("blur", function(){ alert($(this).val()); }); //return false; }); } function addProduct(){
dialog movement
Hi, i want to make a dialog movement only in the parent-div. What i mean is, the page is containing a div for the top-menu and a div for the content. The dialog has to be created in the content-div and only in this div to be move. At this moment the dialog will be created but i can move all over the page; over menu-div too. thats bad. ... <div id='topmenu'> .......</div> <div id='content'>... in here, the dialog will be created, show javascript at bottom....</div> ... And the javascript: $( "#menu_add"
Theming links in footers
It seems, that only buttons apply on data-theme="d" commando (in footers). Is it possible, that the links get the theme too? Looks not nice, when the buttons are green, and the text-links blue.. Thanks a lot..
JQuery Cycle plugin on hover
I'm using JQuery cycle plugin scrollRight Transation on click. I want to do it on hover , is it possible ? here is my code : $(document).ready(function() { $('.slideshow').cycle({ fx: 'scrollRight', next: '.slideshow', timeout: 0, easing: 'easeInOutBack' }); });
jQuery validation plug-in
Hi, I was using jquery validation plugin v 1.6 and jquery JS library v 1.4.2. the form validation was working fine with the rules and messages. now when i moved the jquery JS library to v 1.6.2, the validations are not working. Any inputs in this regard will be reallly helpful. Do i need to migrate the validation plugin too???
text input in footer
There is tag <input> in footer, when I enter characters. Do not know why it disappear. Look like this... And when I enter characters.... I don't know how to fix it. help me.... Thanks you.
JQuery Dialog causing page to go blank
I have a div with display:none and i am opening this div inside the jquery dialog on click of a link. The dialog opens on top of the page properly in IE8, IE9 but not in IE7 In IE7 the dialog opens but the page behind the dialog goes blank. IE7 Screen shot IE8,9 screen shot Any help why this is happening will be helpful. Code to initialize dialog as follows $('#warnList').dialog({ minWidth: 400, width: 400, minHeight: 100, resizable: false,
can't find "this" in jquery overlay
New to jquery and using the overlay tools in jquery-1.2.7.tools.min.js. I have several div's set up as overlays on an 'img' and some 'a' tags. <img src="/image/test.png" rel="#1485"> <div id="1485" class="simple_overlay"> <a rel="1486">1</a> <a rel="1487">2</a> <a rel="1488">3</a> <div id="1486" class="simple_overlay"> <a rel="1486">1</a> <a rel="1487">2</a> <a rel="1488">3</a> <div id="1487" class="simple_overlay"> <a rel="1486">1</a>
ajax tabs 1.10
I want to be sure I am understanding the new ui tabs and how it handles ajax requests. I have a list of data records in one tab and when a user clicks on a link from a record in that list I want to switch to my tab that shows the detailed information for the specific item (so a list tab and a detail tab). I was hoping to use ajaxSettings.data, but if I'm following the discussion for ticket 8673 correctly, I need to change ajaxSettings.url with the data attached as a querystring. Tabs beforeload
Resolved - Passing ID tags across pages.
When my main page loads, it grabs the first entry with the id="vids" from videos.html. Main Page: <div id="sidevideos" class="sidevideos"> <script> $('#sidevideos').load('videos.html .vids:lt(1)'); </script> </div> That works great, no problem. I would like to be able to pass the video link( .vids) to this function on the main page <script> var $v = jQuery.noConflict(); $v(document).ready(function() { $v('.vids').colorbox({iframe:true, innerWidth:800, innerHeight:600});
off is unbinding too much
I have a button that has two classes. I bind an event to each class and then unbind one of them, but both get unbound. Why is this happening? You can see an example here http://jsfiddle.net/2xKyM/
UI ignoring CSS
Hi Everyone- Brand new, and am having problems getting going. Followed directions on Getting Started. Have used the Download Builder. Distributed the CSS, JS to the appropriate folders on my server. Have copied and pasted the form tag and javascript from the index into my HTML. Updated the link paths to CSS and JS in my HTML and... no go. The component I downloaded was for buttons. The radio buttons appear, but are not styled as buttons. What have I missed? Thanks- excited to get going!
JQuery goes to past date with the Date range
i'm using the date range with two textbox (fromDate,toDate), each one with icon trigger function . when i disable the "fromDate" the toDate can be goes to past dates ,i want to disable this and normally use like if no disabled textbox. this is the jquery $(function () { $("#fromDate").datepicker({ changeMonth: true, changeYear: true, numberOfMonths: 1, showOn: "button", buttonImage: "http://jqueryui.com/resources/demos/datepicker/images/calendar.gif",
Hyperlinks
hello, Pls how i have to do, to active hyperlinks? Thanks My best regards @r hyperlinks
Can't set the width of a textbox
I have code that makes a textbox dynamically. I want to set the width with an argument. It may work the first time, but not the second or third. I'm using plain javascript, but maybe jquery could solve it. Here is the code: // +++++++++++++ function createTextBox(maxlength, theid) { var newTextBox = document.createElement('input'); newTextBox.type = 'text'; newTextBox.setAttribute('id', theid); newTextBox.setAttribute('maxlength', maxlength); var
Minimum Size for a button
How does one go about setting a minimum width on a button. I've tried using: .ui-button-text { min-width: 80px; }, along with ui-button-text-only. Nothing affects the width except the text on the button itself.
I can't get jQuery Cycle Plugin to work
I am trying to use the Cycle plugin on my WordPress website, without success. I copied all the HTML, CSS and JS to an isolated HTML file and it still won't work! So it's not an issue of conflict with other plugins. Can someone please look at my code and tell me what I did wrong? Here is the link to the test page: http://stelacreative.com/test.html Your help is much appreciated!
animations hiding/blocking other animations?
hi there I use a few animations on my page, but somehow the first running animation hides or blocks the other animations. Once the first animation is finished, the second can be seen in progress already. After this one finished, you see the third one, also in progress. The idea is to change the height of the bars so the slide in, two from top down and one bottom up. Please see code on http://parallel-pictures.com/index.html Any help appreciated, I tried many things. Also with slideUp and slideDown,
jQueryMobile me back to the main file pageChange calling the onchange event on a select
method call pageChange attempt to make a select onchange but jQueryMobile brings me to the desired file and followed me back again to the main file, show the code. function myProduct(value){ var url="product.php?id="+value; $.mobile.changePage(url); } <label for='product>Select:</label> <select data-native-menu='false' id='product' class='product' onChange="javascript:myProduct(this.value)" > <option value="">Select:</option> <option value="1">car</option> <option
jQuery if not IE, change style
Hello, The !IE HTML tag isn't working so I am trying to use jQuery. The code below isn't working. Please can you help me? <div id="notie"> <img src="images/warning.png" /> I'm sorry, you're not using Internet Explorer 9+. For technical reasons you will need to use Internet Explorer 9+ to copy the templates. </div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"> <script type="text/javascript"> !$.browser.msie('#notie').css('display','block'); </script>
Call Webservice using JQuery AJax Issue
Hi Guys, I want run below exemple but i cant :( I Click the button response status return 12031 and status text return unknown. Please help me because i could not resolve the issue. Thanks http://www.jquerydemo.dailyfreecode.com/tutorial/jqueryajax/helloworldajax.aspx
JQuery FileTree help
My customer/boss wants file tree on the web site. The site is a standard HTML coded site with jquery. I have downloaded the plugin and set it in the master directory as jqueryFileTree. I have written the code part in the header of my page but I get no results... How do I install all of the things needed for the file tree to work on my page. I have a time crunch on this too but also need to know for future projects. My code is as follows: $(function(){ $("#mydivname").fileTree({ script:
Best practices on a "loading" widget.
I'm developing a modal loading widget that could be applied to the document as a whole, or a specific element on the page (e.g. an Ajax grid) Using the $.widget would end up looking something like this: $(document.body).loading(); ... <activity> ... $(document.body).loading('destroy'); Now, I have a case whereby I'm trying to clear out any blocking loading widgets on the document body, but the loading widget may not have been initialized. As I'm getting an error, its seems that I'm not following
how to avoid duplicate bindings?
Hello - What's the most elegant way to avoid duplicate event handler bindings in jQuery? For example, for a ddl named "myDdl" a basic handler might look something like this: $('#myDdl').change(function(){ alert('myDdl changed');}); I have a scenario where duplicate handlers are getting added for myDdl. So what's the most elegant guard clause I can use to avoid this?
how to refer to this.id somewhere else
http://jsfiddle.net/tearex/mXQqP/ I have hit the wall on a trivial as i think problem. I can not replicate assignment of a variable in a different place of the code. Here is how the prototype works: first click one of the randomizers. they populate the select menu. then click the button. it makes the choice of the select menu appear on the diagnostic display. so far so good. now, click the select menu and choose something other than what is chosen the button will update, but upon pressing the button,
Inserting value of array in a <p> element
Hey all. Can someone help me to get the value of the array playlistArray into the new <p> that I create in the function updatePlaylist? Beneath is one of my failed attempts to get it to work. If I want to add a variable in line 6 it will handle it as a string as its between quotation marks. var playlistArray =["blablabla", "blbublubl"]; updatePlaylist = function() { for(var i = 0; i < playlistArray.length; i++) { var newListItem = $("playlistArray[i]").val(); var newListP = $("<p class=playlistItem></p>")
Jquery mobile on tinyMCE
HI guys, I'm trying to implement jquerymobile table system with in tinyMCE editor . But I ran in to several problems . 1. if we can hard code the table before the editor is load table works fine. but in the run time when we try to insert a table it seems jquery-mobile css do not get include in to the table. any ideas how to work this around ?
extraction as an new object from json object
Hi Team i have an json object as follows {"process":{ "id": "epscustomercontact/process/book-appointment", "views":{ "BA001" : { "uri": "//scp/customercontact/appointment/book/views/details", "controller" : "scp/customercontact/appointment/book/controllers/details" }, "BA002" : { "uri": "//scp/customercontact/appointment/book/views/contact", "controller" : "scp/customercontact/appointment/book/controllers/contact"
need help with a 'click here to fade in' image that includes clickable areas
I'm having problems getting what I think is a simple piece of jquery to work right (probably because, a newbie with this, I've tried to use Dreamweaver Spry to accomplish it). I've put a tiny demo page up at http://www.griffinchaseoliver.com/ContactUsDemo.html which illustrates the problem in action and describes it best. In brief, re-hiding a faded-in image doesn't work at all in IE10, and in all other recent browsers I've tried, re-hiding the image works but a clickable link on that image's map
Next Page