Conflict between dialog and history
I'm using JQueryUI 1.10.3 and I have a problem that happen on Android 2.* and on IPhone 3 but not on desktop version of browsers. When I include jqueryui.dialog, the history.pushState call doesn't work. If I comment jqueryui.dialog inclusion all works perfectly. Anyone knows why?
jquery.find ... and ... Array index ... not working together ..... Object #<HTMLFormElement> has no method 'find
hi i do something wrong but i have no clue what what's wrong with it.. // it get 3x .formResponsive $objc = jQuery(".formResponsive"); $objc.each(function(i){ // 0 ist just for testing if(i == 0){ jQuery(this).find('input[type="checkbox"]').change(function(event) { cal(i); }); }); function cal(intr) { \\ something goes wrong with intr.. i get the error : \\Uncaught TypeError: Object #<HTMLFormElement> has no method 'find' \\ even if
jQuery UI Tabs Causes White Page with vBulletin 4
I am currently working on adding a custom page containing some JavaScript (jQuery UI elements) all of them (Buttons, Accordion and so on) works fine except from the jQuery UI Tabs, whenever I try to implement the tabs on a page it seemingly loads fine, including the tabs and they work, but when the page has completed loading it goes blank (Just an empty white page). Viewing the source still displays all the code, and Firebug does not really help me at all. I was hoping someone has dabbled with it
jquery mobile checkbox size
hi, How to increase the checkbox size in jquery mobile regards, kathir
jQuery Mobile time input format
Hello, I'm using a time input on jQuery mobile. When I pick a time from Android on a Galaxy S4 (probably the same problem with iPhone), the default format of time is HH:MM:SS. I would like to display only HH:MM (no seconds). I use this code : <input type="time" data-clear-btn="false" name="time-1" id="time-1" value=""> From a computer (google Chrome), the default format is HH:MM. Is it possible ton configure a time input format ? Regards, JR.
background problem
Hey there, I tried to add a background to my jQuery Mobile Site, if you click on the links it will show to background for about half a second and then it turns back into white, why is this happening? Danielsfotos.com/persio best regards
Open a excerpt my blog page
Hello, I have wordpress blog, and i want create a webb app with jquerymobile, but instead of opening the entire home page, I'd like to open only a portion (that says read more) and then clicking on read more, go directly the selected article. Thanks. This is my example: http://jsfiddle.net/GFqt6/11/
Images Not Working on jQuery Mobile Site
The site in question is at http://www.simplecozygifts.com. I am using version1 .3.2 of jQuery Mobile. I created the jQuery Mobile code using the Dreamweaver CS6 template. I have created a banner graphic for the site in .gif format and placed it on the page and added CSS to have the image re-size to 90% width and height in order to make it responsive. All files are uploaded but the image does not show on the page...only a box with the Alt text is displayed where the graphic should be. How do I get
Trouble with a basic memory leak
Hi All, I hope someone can shed some light on this. I'm working on a mobile app using jQuery Mobile with jquery 1.10.2. This app is phonegapped and shortly after installing on various mobile devices noticed that memory usage would rapidly go through the roof. After days and days of tracking through my code I'm fairly convinced there is a bug in jquery leading to Detached DOM elements. My last and final test I built a *tiny* web page - no included scripts, no jquery, just simple html (the simplest
Anonymous Functions
Hey Guys, I am learning about functions in jQuery, and have a question about anonymous functions. I am just not sure what exactly the purpose of using them, in context with the code. Are they used to get the DOM elements of the page? For example in the code what is the difference between this $( "a" ).click(function() { // this refers to an anchor DOM element }); and this $( "a" ).click(this refers to an anchor DOM element); Thanks for you help in advance!
Uni Assignment Using jQuery plugins / scripts issue?
Hi All, Be gentle with me, total newbie here but hoping to find somebody who can help me make sense of a few issues that I'm having. For an upcoming Uni assignment we have had to make our own designed website and whilst it's not anywhere near the best, let's not get in to the thoughts about this aspect... I'm no professional lol! However, I've added a couple of scripts to enable me to do a few nice things for this assignment but for some reason, the two pages that I've added these scripts on, it's
Duplicate fields showing on webpage
<!doctype html> <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]--> <!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]--> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible"
Best method to disable interaction for a period of time?
Hi folks, I have to download a good sized amount of data to the browser as Application Cache (Cache manifest, not local storage) so that the site will function offline. The initial download takes about 30 seconds and I don't want the user to start interacting with the site until it's finished. This is a dynamic site that will change daily, and will need to be refreshed at the browser level each morning before they go offline. What would the best method be to implement something like this?
Hiding input when radio checked not working
Hi, I have this page: <script type="text/javascript"> modalExtra = ''; maxModalHt = ''; $(document).ready(function() { $('select, input[type="checkbox"], input[type="radio"], input[type="file"]').not('.productOptionPickListSwatch input, .productOptionViewRectangle input').uniform(); modalExtra = $('#ModalTitle').outerHeight(true) + $('#ModalButtonRow').outerHeight(true) + 60; maxModalHt = $(window).height() - modalExtra; $('#ModalContent').css('max-height', maxModalHt); }); $('#giftwrapping_all').change(function()
problems with ajax and functions in an ajaxForm submit
I am using ajaxForm() to show completion percent during a submit that can be either an original submit or and update/edit submit to an existing post. A user should be able to edit their content in a database row in a later session, after the original submit. If a variable (coming from the database) has content, the update/edit branch is activated to submit the edited post back into the same database row. Highly summarized, this code both submits and does an update/edit to an existing post in a database
how many img tag into a div
let's say I have <div id="imgs"> <img /> <img /> <img /> <img /> <img /> </div> how can I get 5 (the number of img ? thank you
[jQuery] Tablesorter filter widget and td width using Chrome
When a table is less than 100% of page width, and the filter widget is active with Tablesorter, Chrome browser expands each td tag so that the table fills the full page width. Internet Explore and Firefox displays correctly. When I hide the filter row, Chrome shows the table correctly respecting the td widths. I don't see where I can work around this. I have the WidgetOptions set to hide the filter when not active: filter_hideFilters : true If I set it to false, tables in Chrome will permanently
Color swatch collections for jQuery Mobile?
Anyone know of any color swatch collections out there for jQuery Mobile? (besides the 5 default ones). I know that ThemeRoller is available, but I'm not the best at creating color palettes, so was just wondering if anyone else has already done this? Ideally, it would be nice to have at least 15 or 20 different color schemes to choose from, instead of the standard 5. I know about Graphite, but it only has 8 different color schemes. Plus I don't really care for how Graphite styles the elements (not
Active shadow color and Themes
I am trying to find a way with ThemeRoller to change the blue shadow color that appears when a list item is pressed/focused of the Theme a. It would seem that JQM use the color defined in the last theme created. I am using the 1.4.0 -rc.1 version Thanks, Claudio
url and rewriting
Hi I am using jQuery 1.10 to write HTML in that way $('.flex-prev').html('<img class="prev-img" src="/images/arrow-left.png" />'); it works perfectly on localhost and distant server but if I use in .htacess RewriteEngine On RewriteCond "%{HTTP_HOST}" "!^www\." [NC] RewriteCond "%{HTTP_HOST}" "(.*)" RewriteRule "(.*)" "http://www.%1$1" [R=301,L] the images are not found how can I dot it ? thank you
submitHandler
Hi, I am new to jquery and I am editing a website form. In the form it has something like this var handleRegister = function () { .... ... ... $('.register-form').validate({ errorElement: 'span', //default input error message container errorClass: 'help-block', // default input error message class focusInvalid: false, // do not focus the last invalid input ignore: "", rules: { fullname: {
How to redirect the user from an external server page back into the app built in jquery mobile?
I am developing an ecommerce app in jquery mobile packaging it in phone gap. Now i want my users to come back into the app after paying in the page hosted by some gateway. It is taking them in the return_url specified in the account. I want to create a link in the return_url page that they can come back into the app to shop again?
Attach event handler to jquery object
Hi guys, Just started using jquery :) I want to create an html element wrapped in a jquery object like so... var s = $("<select id='resType'>" + "<option value='Yes'>Yes</option>" + "<option value='No'>No</option>" + "<option value='NA'>N/A</option>" + "</select>"); And then attach an event handler for when the selected index is changed, like so... s.change(function () { alert("!"); }); This code doesn't work (in chrome and IE
sending data through get
Hi, I was trying to use jquery for processing data. I am sending form data to register_process.php and checking username already exist or not. If it exist i need to ask the user to re-enter user id else register the user. submitHandler: function (form) { var data = $('.register-form').serialize(); $.get( 'register_process.php', data, function(data) { $('#result').html(data); }, 'html' ); }on success this will be executed function(data) { $('#result').html(data); },but what i should send
How do we jquery.suggest plugin with tokeninput plugin
Hi, I am trying to implement search. When user enter any text should show suggestions. Here all suggestions are keys, user can enter values for these keys, key-value pair is separated by colon. Eg: Key1: value1, key2: value2 where Key1 and Key2 are suggestions in the list value1 and value2 entered by user. If it is possible can you suggest me please. Thanks in advance. Shiva
Hidden True attribute makes subgrid misalligned
Hi I am using jqgrid and have one issue in sub grid. When i added the attribute hidden:true for the Id field my subgrid becomes unordered and the header and the columns and not alligned properly. This is my Code: var colNames = [ '','Product Name', 'Product Type', 'Product Subtype', 'Manufacturer', 'Status']; var colModels =[{name : 'productId',index : 'productId',hidden:true}, {name : 'productName',index : 'productName', align:"left"},
CheckBox indeterminate state in internet explorer
The following code working fine in Firefox and Chrome but in internet explorer gives "Microsoft JScript runtime error: Syntax error, unrecognized expression: unsupported pseudo: indeterminate" var chkIndeterminateDayCount = $('#' + trChkId + '').find('input[type=checkbox]:indeterminate').length; So please help me to resolve this issue in IE
VERY URGENT : Need Solution For Jquery Conflict (jquery.lightbox-0.5.js and jquery-1.4.4.min.js)
I'm having a critical problem with Jquery. Please check My Link: http://ecoverexpert.com/new-design/ There is 2 section for jquery. 1 = This is Full Width Image Slideshow 2 = This is Light Box. 1 is working but 2 is not working with me. Can you please tell me the solution, How I will work with both Coding? Waiting for your quick response.
undefine variable in ajax
i am posting hCenter div's html in result.php page. i tried it val() also but error is head not defined. function headerT() { valhead = ""; valhead = $("#hCenter").html(); alert(valhead); $.ajax( { url: 'result.php', type: 'post', data: "head="+valhead }) .done ( function (msg) { }); } result.php echo $_POST['head']; please help me
problem with tabs and widgets
Hi I am new to the jQuery ui and have a problem that is a hair puller. I am building a tabbed demo that has a different working widget under each tab. I have seven tabs and the widgets under the first six tabs work great but no matter which widge or content I try to put under the seventh tab nothing shows up under the tab it is selectable and goes to the seventh tab when you select it but it is always blank under the tab no matter what I do really need some help in fiquring this out while I still
change text color
Hi, if the field I have class="required", the text inside the box is red, how can change it to black? <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="/js/jquery.validate.min.js"></script> <script type="text/javascript" src="/js/additional-methods.js"></script> <cfinput type="text" name="name" id="name" value="#variables.fname#" class="required"> thanks
My new and first jquery plugin - jautochecklist
Hello. This is my first jquery plugin. It allows you to create a beautiful list to replace the html select box. Home page and docs: https://code.google.com/p/jautochecklist/ Publishing a plugin in this site seems complex so I made this post... Hope you like it.
Problem with jquery-1.10.2.min.map coding
here i wish to bring to notice that jquery-1.10.2.min.map code report problem of "incorrect token : " in chrome as an error and " use ; before statement " as an error in firefox console....tried to change it but no success please provide soln. to the problem...
Hiding li-elements (with a link) within a listview
Hi folks :) I am trying to hide an li-element (with a link) within a listview. Trying to hide a normal li-element works fine but when there is a link inside the li-element, the link icon remains visible. Here is the code (just click hide/show in the header): http://jsfiddle.net/qHxk9/embedded/result/ Is it my fault or a bug? Regards
Tablesorter - sorting not happening
Hi I'm new to jquery and am looking for some advice. I found some sample code, uploaded it to my site and got it working fine, so pretty content that the path to the jquery is working fine. I've since tried substituting my own table into the code instead, which has stopped the sorting from working correctly. The main difference that I can see is that the contents of my table is being pulled from a database. Output: http://www.arabianraceform.co.uk/form/horses/00001test.php Page code: <?php
Any open source Cross-Browser Extension API?
Hi all. I want to make a commercial cross browser extension which would run on IE,Firefox,Chrome etc; and I have read that both Crossrider and KangoExtensions require money to make the extension commercial. Is there any framework which is both open source and free ? or Jquery can allow me to build such an extension ?
Passing in function to the .on function
Hey Guys. I am a little bit confused when passing in functions in the .on parameter. Why does the function that we pass in doesn't include an opening and closing parentheses?? For example i pass the function highlighted. (Got the code from a tutorial btw) and the function takes no parentheses. Doesn't jquery need that in order to tell if its a function. Why in other parts of the code we need to include parentheses in this we don't. Thanks <script type="text/javascript"> var eventTarget =
Has uaMatch() been removed?
I implemented a decoration on our web pages to help us know which browser and version was being used when our customers take a snapshot to report a problem. It was introduced using jQuery version 1.8.3 and has been working fine for quite a while. I found sample code at Stack Overflow and was able to take the code almost directly for my purposes. This morning, it failed with an "Uncaught TypeError" (because it no longer recognizes uaMatch()). I am using the Google CDN. I looked at jQuery API but
Hide Text throughout site
Hello, I have several pages throughout a site that contain some text I would like to hide or remove. The text is: Age Verification: No Age Verification: Yes I have tried the following. The first method doesn't do anything. The second works but on one one page it causes some issues with a select next to it: The select disappears and the text within just shows up as one long paragraph. (screenshots below). Really would like to hide any instances of either of these text strings throughout entire site
Using fadeIn and fadeOut and div automatically change opacity... Help
Hello again guys, I'm using wordpress to make a website and need to do a overlay div to each product... http://virtualsoul.com.br/cupcakeria/index.php/sabores/ << the div is all okay, the overlay div must appear when have a mouseover, but when it happens the div changes to 'display = block' and automatically the opacity changes to 0... $(".element").on("mouseenter", function(){ $(".elementoverlay").stop().fadeIn(); }); $(".element").on("mouseleave", function(){ $(".elementoverlay").stop().fadeOut();
Next Page