Collapsible set filled with sqlite db datas not showed as collapsible
Hello,I'm newbie in jquery mobile. I try to build an application for mobile using (html5, cordova, jquery mobile and sqlite db) All is working fine, except the layout of the page after populated with the datas retrieved. The collapsible set is not build as it should. It just appears without any format. (sorry for my English) the html code is: <div data-role='page' id='P_Aliments' data-theme="o"> <div data-role='header' data-theme="o" > <a href="#home" class="ui-btn ui-icon-home ui-btn-icon-notext
listwiev problem
hi, i create something i have problem when i create listwiev,this white points left how to remove it ?here is the picture
Responsive design
I have a rather elaborate website that was designed without considering responsive design. I am now trying to rebuild the site as a responsive site. I am a newbie to j query with a background in animation(After Effects and Flash). I want to be able to load and entirely new page when I minimize the screen to under 650 pixels. Is it possible to this? Thanks in advance.
append Children from a Box to another
Hi, what i am trying to do is to remove items from one box "selectedFrom" and add it to its sibling "apendTothis", but unfortunately if i am selecting the children and append it to the specific sibling box "apendTothis", all children from other boxes will apear to every sibling box. example of html struct: ... <div class="parent> <div class="selectedFrom"> <div class="child">item</div> <div class="child">item</div> <div class="child">item</div> </div>
How To Retrieve 'lat' and 'lng' from google maps 'location' object.
Hi, I have the 'location' object from a google map listener event. alert(location) shows something like this. (46.05734091267766100, -114.173083371296539075) I want to have the var 'latitude'=46.057340 and the var 'longitude'=-114.173083 . I will then use AJAX to insert the value of these variables into my DB. Nothing I do seems to work to split 'location' up. R
Change menu Font after refresh
Dear All http://prajaktasoftware.com/vasaiprag/index.php# I have this in multilingual As as advised (BY JAKE) I am refreshing the page after change of language so as to change the menu however the I want to increase the font size when 'Marathi' is selected and revert (or change font) when 'English' is selected I am using following css I want to change font size using ajax #cssmenu > ul > li > a { font-size: 14px; /* I want to change the font size */ font-weight: bold; padding: 15px 15px;
is it need to take license?
Hello again, I am using time countdown plugin in my site .Is need to take any license for this purpose .If yes then tell me whole process how can i get it.
Can i use Jquery Plugin free as commercial purpose?
Can i use Jquery Plugin free of const in my site which is going publically access? If any term and condition for using jquery plugin and jquery liberary tell me.
How to add a class to a string with characters longer than...
Hello, here is what I have so far. The problem is that, my class is added to every instance even if characters count is less than 50. What is wrong here. I will appreciate your help. var slideTxt = $('.homepage-two-column .jcarousel-wrapper.slideshow .slide .caption .inner .desc h2 a'); $(slideTxt).each(function(i) { var iTotalWords = $(this).text().length; console.log(iTotalWords); if(iTotalWords > 50){ slideTxt.addClass('Class60'); }
data.match is not a function
Hi, I am using data.match which is working with my ajax (success) but now I am getting data.match is not a function when I started using ajax (done) How can I fix please? Thanks Jassim
2:1 Grid system?!
I want to know if I can place block with 2:1 in grid? It seems jqm has only 1:1 grid system; they are all same width.
can $.cookies plugin create cross domain cookies
lets suppose i am working client.com and i want to create cookies in server.com, is this possible through $.cookies plugin. code like this. $.cookies("cookies_name","cookies_value",{path:"/", domain:"server.com" })
Easiest way to make a page with four images that show one after the other.
Hi, I'm trying to work out how to set up a web page that shows a series of four images one after the other, with a fade-out in between. This is the sort of thing that I have in mind: http://www.britishschool.fr/ I've done a lot of HTML, and some stylesheets but I've never done any javascript. I'm a stay-at-home-mum and I'm looking into this in case it's something that I could do to help out my local primary school who want to revamp their website. I'm keen to keep the html as simple as possible.
multiple arguments with the same name
regarding the data argument of .ajax() is it possible to have two keys with the same name (but different values) is data : { month:'june', month:'july' } is not how would I go about makeing a get request where multiple values have the same name as per the bellow example from here https://lucidworks.com/blog/2009/09/02/faceted-search-with-solr/ This is a sample GET request where multiple fields are called facet.query so that multiple values can be passed &facet=true
&facet.query=price:[* TO 100]
pagecontainer - allowSamePageTransition is not removing existing page.
JQuery Mobile 1.4.4 - Trying to get my pages to load properly. I've noticed that when trying to reload the same page I get two pages with the same ID in the DOM. Does anyone have a work around for this? $("body").pagecontainer('change', reload_url, {allowSamePageTransition: true, changeHash: false, showLoadMsg: true, reloadPage: true} );
jQuery 2.2.0 breaks jQM selectmenu with data-native-menu="false"
For information The current 2.2.0 breaks jQuery Mobile selectMenu with data-native-menu="false". see http://plnkr.co/edit/dant044hERO4zpEJgB8S 2.1.4 does work.
URL encoding double quotes
I am using ajax{} to make a GET request part of the data attribute looks like this data : q : 'pub_title:' + solrCompatableMainQuery, solrCompatableMainQuery is input from a text box the : in pub_title: gets converted to %3A (url encode) as it should. However solrCompatableMainQuery needs to be surrounded by double quotes and these are not getting encoded I have tried this data : q : 'pub_title:' + '"' + solrCompatableMainQuery + '"', and i have tried this (before the ajax call) solrCompatableMainQuery
handsontable https URL
'http://docs.handsontable.com/bower_components/handsontable/dist/handsontable.full.min.js'. This request has been blocked; the content must be served over HTTPS. Could you help me to find any alternative of this URL which is served over https?
How can we show four dates selected default in calendar
Please check below link and code. Datepicker If var nights = 4 and var arrival = 2, the result I am getting is correct If var nights = 4 and var arrival = 6 the result I am getting is incorrect <script> function initializeBooking() { $('#form_booking').ajaxSubmit({ target: '#result', success: function () { $('#result').fadeIn('slow'); } }); return false; } // hotel nights.. available is 2, 3, 4, 5, 6, 7, 8, 9 nights.
Jquery datepicker inline beforeshowday not working equal as popup
When I am using a datepicker as a popup I use the beforeShowDay method to disable some dates of it, and it works just fine. I have an array of busyDates filled before the datepicker initialization, and then I compare day by day to see if is or not on the busyDates array. But if I atach the picker to a div (instead of an input) making it inline (always visible), the disabled dates are not shown as disabled until some interaction is done with the widget. I am very positive there is some little thing
Noob Noob Question about when script are executed
Hey There, I'm just starting JS/jQuery and i got a first question i'm not able to answer myself : is the code from a .js script executed when i call it from a HTML file ? I thought so, but why in this example, there is nothing in the console ? (chrome dev debug) In my Index : <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"> <link rel="stylesheet" href="./main.js"> my js file : $(function(){ console.log("Debug Message"); }); I can see that the main.js
File upload issue when more than 1 file field
Hi, I have a form with 5 <input type="file" .....> fields each with different names. I have the form in a bootstrap modal so am using jquery to post my form and on successfull uploading I will close modal and give a message saying files uploaded successfully. As the user adds a file I want to add it to some sort of structure then when the user clicks the submit button I want to loop through this structure and upload the files, I have used the functionality at http://abandon.ie/notebook/simple-file-uploads-using-jquery-ajax
Getting drop-down select value for each row
Hello , Having some problem reading data from each row from this table. Given http://codepen.io/caim/pen/pggZOx I'm trying to replace the first column from input to select dropdown but having trouble figuring out how to read the data for each cell. It was working fine with an input and normal td but now the select entered the picture and it's skipping one column. The day drop-downs are for newly added rows currently. This is how I'm trying to read the data $BTN.click(function () { var $rows = $TABLE.find('tr:not(:hidden)');
Issue On Using Text() or append() in a loop to add Markup as String to a div
what I need to do is adding some html markup as string/text to a div .result I already tried to do this by using .text() function for (i = 0; i < 5; i++) { $('.result').text('<p class="para-' + [i] +'">Paragraph</p>' ); } <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <div class="result"></div> but this only adds the last paragraph into the .result then I tried to use the .append function but this one taking the string a markup and adds it to the page
Internal LInk, Anchoring : Scroll DIV instead of the page
Dear Sir Pls refer http://prajaktasoftware.com/gandhi/ I had done anchoring..... Click on menu jumps to respective menu on other div page is scrolled.... however I want the menu div fixed. and other div to scroll as per anchor refer following link for the effect http://ruchkarraje.com/order-online to shorten the question how can i keep 2 layers fixed and one scrolling the main thing is based on middle scrolling of layer, left hand side main menu is automatically highlighted
Menu collapse flickering
<header class="head-section"> <div style="background-color:black;"> <br/</div> <div class="navbar navbar-default navbar-static-top container" style="background-color:black;"> <div class="navbar-header"> <button class="navbar-toggle" data-target=".navbar-collapse" data-toggle="collapse" type="button"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
formvalidation vs jquery validator
Hi, I would like to ask, from your experience which one you prefer to use, jqueryvalidation.org or formvalidator.net because I am having unresolved issues wth jqueryvalidation and thought if you have another better option. Thanks, Jassim
Problem Validating Fields
Hi, at http://www.mybluefile.com/m I have a problem validating fields. The page has user ID and password. Both needs to be entered otherwise it should show error dialog. When I leave both blank it works. When I leave the password blank it works. But when I enter the password and leave the user ID blank it will show the Please wait loading in addition to the error dialog where it should juts show the error dialog. Why is that? and how to fix please? Thanks, Jassim
New JQueryUI 1.11.4 styles broken
Hi, Styles seem to be broken with the downloaded JQueryUI packages, at least with the 'Dialog' widget package. Could someone else confirm please? To reproduce, go to the download page at http://jqueryui.com/download/ Untoggle all components and choose the "Dialog" widget Select a theme, I tried Ligthtness and Blitzer. Download, unzip to its own folder and open index,html Buttons etc are badly styled and open the dialog to find the dialog is broken. Tested using latest JQuery 1.12.0 for production
jquery form plugin does not send correct request header for file uploads
I am using jquery.form.js to handle file uploads via form in jsp. I have used HTTP Analyzer to check the action details.But the request generated in the HTTP header shows negative content length of the file when the file size exceeds 2^31 bytes. The browser shows the request as aborted and thus the upload for large files does not proceed. Suppose that the file I have used has length of about 2.2 Gb but the request header shall show the Content-Length as -200 Mb. Thus no response is received any further
Windows 2012 Compatibility
Hi Team, We are using 'Jquery-1.8' currently for our production environment which is on a Windows 2008 (64 bit) box. We plan to upgrade our servers to Windows 2012 (64 bit) with IIS 8.0. Kindly let me know whether 'Jquery-1.8' is compatible with Windows 2012 (64 bit) server with IIS 8.0. Thanks in Advance Sanjay
How to mprove workflow speed ?
Hey Guys , good day :D For the past few days i have really been thinking about , workflow and currently i do the kind of work , thats basically vanilla HTML , CSS and JS/jQuery , and needs to be delivered in a timeline , so that really got me thinking of "WHat could i do to increase my workflow speed" . Now a few things that come to my mind are: - grunt.js (i've just started using this) - bower (heard good things about it .. but not it using it). - A processor (SCSS/SASS/LESS) . - A CSS framework.
Need help to delay 2 seconds before sending json request
Below is my script. It's a autosuggestion search script. The problem is that it penetrates the server with a huge amount of requests (it sends a request after each inserted character). I need to change the script so that it waits 2 seconds after user has finished typing (and has inserted at least 3 characters) and only then sends request to the php file. (function($){ $.fn.fsearch = function(){ var $searchInput = $(this); $searchInput.after('<div id="divResult"></div>'); $resultDiv = $('#divResult');
Doubt about Selector
Hi I saw this solution about 'hiding all input elements within a form' HTML: <body> <form name='demo_form'> First name: <input type="text" name="fname"><br> Last name: <input type="text" name="lname"><br> <input type="submit" value="Submit"> </form> </body> Solution as i wrote: $(document).ready(function(){ $("input").hide(); }); The above code worked, however the given solution was: $( demo_form.elements ).hide(); I would like to know: Isn't 'elements' a generic selector? isn't it
return from function creates: detailed error: TypeError: retData is undefined
Yesterday I submitted a question 'Google Map Not Loading'. A disaster!! Before I can deal with the google mapping issues I have to be able to pass the data properly from the database. The idea is to access a MySql database containing Marker information, create a 'dynamic select options list', make a choice, create an array of data from the choice and return the results as an array to a function which will create a 'google map'. This is my re-write and I can't get the data to pass the array from
How To count 1 to 10 and in every number wait 5 seconds
hi friends, how to do: count from 1 to 10 and wait 5 seconds, sample: 1 5Seconds 2 5Seconds.. 9 5Seconds 10 here i am try to do: https://jsfiddle.net/jamiguel77/Ld11bnn3/ The count start when user click on button Greeen: "calcular" immediatly i see an alert and the div green witha 11 how to animate this? thanks
function attached with a button not working after changing its id in ajax success callback
When I click the button its id, name and val attribute change successfully in ajax success. But if If I click it again the old function attached to the previous id is called not the one attached to the new id. I checked other posts but they did not worked for me either. <input type="submit" name="textareaInsert" id="textareaInsert" class="textareaInsert" value="Insert data"> //script $(document).ready(function() { graph_post_data(); graph_update_data(); });
Slicknav not appearing
I have been trying to get slicknav to work on my WP site and while the "first" nav hides at the right screen size, the slicknav version fails to appear! I am getting no errors in my logs and cannot see no reason why, all file paths are present and correct.... Can anyone help? Thanks
Question about val() method on drop down select
Please refer to https://jsfiddle.net/edby27mL/4/ HTML <select multiple> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> </select> <div></div> JS $('select').change( function(event) { //selArray=$('select').val() || [] works // this doesnt selArray=$('select option:selected').val() || []; $('div').text(selArray.join(', ')); } ); Here $('select option:selected').val() doesn't
Feedback for Vaadin Charts 3.0 preview
I'd like some feedback on this preview version of Web Component enabled charting library: Vaadin Charts 3.0 https://vaadin.com/charts-for-jquery Please try it out and tell me what you think about it. I work for Vaadin and we are extending our open source Java and Web Components offerings to commercial products including this very versatile chart library. You can get an evaluation license for free. The development is still ongoing and feedback is greatly appreciated.
Next Page