Problems after post form
hello, i want to check the date in the form. so far it works fine. as soon i press on the submit button and enter a new date, it does not check the date again. what is the reason for that? i don´t see any error in the console? <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css"> <meta name="viewport" content="width=600 user-scalable=no" /> </head> <body> <form
How to move children inside near children?
Hi! I have this HTML... <div class="item"> <div class="image"></div> <span class="titleimg">Title 1</span> </div> <div class="item"> <div class="image"></div> <span class="titleimg">Title 2</span> </div> <div class="item"> <div class="image"></div> <span class="titleimg">Title 3</span> </div>I need to move all <span> to <div class="image"> inside his parents. I knew about appendTo and etc, but I can't invent working construction. :(
How to refresh/reload a child browser tab??
I have to create an application where i would be showing a map on the page. On the initial page the map will be small and as user click on the map, a full map with all the results will be opened in a separate browser tab. What i need to do is, when user change the filter/criteria on the parent tab, the child map tab needs to refreshed with updated results. Is it possible to achieve that using jQuery or java script? Please suggest.
Apply blue frame and icon inside of input box
Based on this code I would like it to add it inside of a input box that contain text. Is it possible to do it? Thanks! "https://jsfiddle.net/n2hbrztj/"
cycle-slideshow
I'm using the cycle plugin from http://malsup.github.io/min/jquery.cycle.all.min.js in http://mjsdisplays.com. Sometimes the page loads blank and the slideshow doesn't start. I would very much appreciate it if someone could point me in the right direction for a fix.
Help with 'heightStyle' in Accordion
Hi, Found the demo below useful for what I want to achieve with an accordion: http://codepen.io/anon/pen/kLbeD However, I'm not getting the expected results from the heightStyle of the content div. My Fork: http://codepen.io/anon/pen/GJbKjW In my version I've just added differing amounts of text to the content divs. I expected 'heightStyle: 'content' to set the height of each div to the height of the content, but it doesn't. Instead, it seems to ignore this and behave as if it were 'heightStyle:
How to do remember choice image.
Hello, I have this for a script to change the images in the background. $(document).ready(function(){ $('#menu').click(function(){ $('#thumb').slideToggle('slow'); }); $('li img').click(function(){ var imgbg = $(this).attr('dir'); $('body').css({backgroundImage: "url("+imgbg+")"}); }); $('#bgimage').click(function(){ $('#thumb').hide(); }); }); It's just that after the change and refresh the page returns to its original state. Let us take to the selected image wyśiwietlał all the time (ie. selection
JQuery mobile 1.4.5 min js not working with Windows Phone 8.1
Hi, I'm developing a windows phone 8.1 app using JQuery, WINJS and backbone. The app is running fine while debugging, but when the app is packaged for release (.appx). The app crashed. upon diagnosis we figured out that window.location is becoming null while the app is installed and when Jquery.mobile.1.4.5.js is loaded. Any idea why is this happening?
Show table row options to the left on hover
I have a table on an app that im creating (DataTables currently), and as you can see below, its rather packed with columns, and unfortunately, all of them are necessary. I wanted to hide the three left columns, Delete/Visibility/Primary, to make more space on the table. But theya re still needed, so I was thinking maybe make it so when you hover over the row, it shows the 3 options to the left of it, making it look like the row is extended or something. Does anyone know how I could do that? Just
Include external js script to load a file from external server
Hello I am using a jQuery plugin which is datatables, and i use it that way : $('table').DataTable( { "ajax": "table.txt"}); This work fine because the file table.txt is located on the same directory as my javascript script in my hosting directory. But because the file table.txt size is important, this will consume me a lot of bandwidth so the idea i have is to host it in an other location for example a CDN or dropbox and then call it, for example like that: $('table').DataTable( { "ajax": "http://dropbox/cdn/445587215/table.txt"});
Simple panel slider
Hi all I have been looking for an extremely simple panel slider plugin for jQuery (to simulate the view sliding you see in smart phone apps), but haven't been able to find one that suits my needs. I therefore have created my own. Concretely, it's a jQuery UI widget, and I would just like to post it here, if anyone has been missing the same simple functionality. Test it out here: https://github.com/alexandrainst/jQuery_panelSlider Comments are very welcome, and I would be happy to tweak it! Regards
Resize popup on orientation change
Hello, im developing an app for android. Inside the app i want to show the changelog inside a popup. On flipping the mobile device, the popup should resize to the available height. Here is what i have. index.html <div data-role="page" id="Changelog" data-iscroll="enable">
<div data-role="header" data-theme="a">
<h1>Changelog</h1>
</div>
<div role="main" class="ui-content changelogdiag">
<div data-iscroll="scroller" class="ui-content changelogdiagscroll">
......
</div>
</div>
</div>
Events firing after ajax page change. (Flipclock)
Hi there, so I have this little problem: My project uses a layout which is using ajax calls to load the content of a module into the main content area. Specific javascripts are loaded dynamically with that ajax call (basically it just return some HTML that I add to the main content area that includes some javascript/jquery files). I'm using https://github.com/objectivehtml/FlipClock to display a counter on some pages. Obviously I bound some things to the "stop" callback of the counter. This is still
How jquery is different from javascript?
Hello everyone, I am a new learning user to jQuery. But i am often confused between jQuery and javascript. Can you please tell me the difference between two. Regards Genevive Ocansey
DatePicker - View months or years
Hello friends, Lily entire Datepicker documentation and could not get what I need, maybe not correctly interpret the documentation. I need to be shown the calendar, instead of showing the days for selection, I could display only months or years, so instead of days. You can do this magic? I thank you for your help.
jquery snippet code to add in php page
Hello guys, can you help me about jquery? I've this js: (function($, window, document, undefined) { 'use strict'; var gridContainer = $('.grid-items'), filtersContainer = $('.portfolio-filters'), wrap, filtersCallback; /********************************* init cubeportfolio *********************************/ gridContainer.cubeportfolio({ layoutMode: 'grid', rewindNav: true, scrollByPage: false, defaultFilter: '*', animationType: gridContainer.data('animation'), gapHorizontal: gridContainer.data('gap'),
Fix div on scroll
$(document).ready(function(){ $(window).scroll(function(){ var $menu_pos = $('#menu').offset().Top; if($(this).scrollTop() >= $menu_pos){ $('#menu').addClass('stick'); }else{ $('#menu').removeClass('stick'); }; }); }); can anyone please tell me wheres my mistake? since it is not working.. thanks in advance.
how can i get exactly length
can you help me in this code always i get length equal zero even div contain data if(isset($row['ship_country'])) { echo " <option value='{$row["ship_country"]}' >"; echo $row["ship_country"]; "</option>"; } else { echo "<option value=''>Select</option>";} $query = 'SELECT * FROM `country_dhl` '; $res_qu = mysql_query($query); while ($country = mysql_fetch_array($res_qu)) { echo " <option value='{$country["country"]}'>"; echo $country["country"]; echo "</option>"; } echo "</select>"; ?> </div> <div
Hello, please help me in my menu
Ok, I need to click on the image (img.menu) and the menu appears, and click again and close it, whenever I want. Thanks in advance. I apologize for Google translator. My HTML: <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <title>GRAPE</title> <link rel="stylesheet" href="css/grape.css"> <script src="js/jquery-2.1.4.js"></script> <script src="js/grape-js.js"></script> </head> <body> <div class="header"> <img class="menu" src="img/menu-grape.png" alt="Menu" title="Menu"> <nav class="header">
How do I get the ID of a table cell within a certain row?
I have this drop down list inside a table cell and I have manage to set a certain colour on the row depending on which colour is selected within the drop down list: $("select").change(function () { if (this.value == "Default") { $(this).parents(".options").removeClass("default green blue red"); //Get ID of previous cell and do something } else if (this.value == "Green") { $(this).parents(".options").removeClass("default
jQuery ccookie
I have a multiple alert system that display uniform alerts on all pages. I want when any of the alerts is closed, let it stay closed on all other pages on the website. I have tried so many thins but nothing works. It only. works when it is just one alert. // Alert session cookie starts here jg(document).ready(function () { function closeBox() { var closeBox = jg('.alert-box:visible').hide(); // - Notice how we pass a function and get an integer jg.cookie('Alert-closed',
not display an alert Strange... very strange. (i want remove a row)
hi friends, i have a problem, i pasted my code: http://pastebin.com/PTtbzNRx and the jspallentex.js http://pastebin.com/Lf3fqEyN and then try explain, i add a row to a Html table: see lines: 169 to 386, this task is done OK, work fine, if you see in the line: 327 i add a button with a class: 'cBtnBorrar' this button/class was defined: in line 166, here my problem when the user click on button not happend anything (and the console not help me), a friend tell me: (<lf94> jak2000, well the alert
datepicker - showButtonPanel - Today option does not select today!
We use the datepicker UI on our website and have just turned on the buttons at the bottom of the calendar: showButtonPanel:true I don't understand why when you push the "Today" button that it doesn't populate the text box with today's date and close the widget. All this today button does is take you back to the current month so you can select the date yourself. I know it is quite simple to find today's date that is highlighted but I think we all understand the mind of users.... maybe the solution
Unable to get Jquery doing calculations without having to physically change value in field
Hello, I have a few fields, when the quantity is changed, the total is calculated but there is a problem, if I load the page prepopulated from mysql and change the price value without touching the quantity, the total do not change. Please see the attached picture to understand the problem better. Imagine that I load this form with pre populated data(update page), if I change dropdownlist 1 and 2, without physically changing the quantity, then the input field 3(total) will not change. Any idea why
how to convert div content to canvas
how do i convert a div content to a canvas with the full with of the div..
.done() and chaining capabilities at the same time – possible?
I am working on a jQuery plugin and some of its methods should have chaining capabilities, but also the .done method should work on them. According to the tutorial on learn.jquery.com chaining is accomplished by having all jQuery object methods return the original jQuery object again meaning the method has to end with return this;, as far as I understand. Now some methods return data and the user should be able to use the .done() method in this case. It is implemented via $.Deferred(), resolve() and return
Hide part of a sentence
Hi, I am trying to hide certain words in a sentence; Headline (Max 4) I want to hide (Max 4) I have looked and been unable to find anything that allows me to hide certain words I can't put it inside a <p> or <span> tag as I have no access to that section Can anyone help?
values of Dialog Form Modal hidden controls, not set values on main form
hi all i have a hidden controls on main form: <input type="hidden" id="wcombcpallcdestino2" name="wcombcpallcdestino2" value="-1"> <input type="hidden" id="wkgsdese" name="wkgsdese" value="0"> <input type="hidden" id="wkgscan" name="wkgscan" value="0"> <input type="hidden" id="wkgsmerma" name="wkgsmerma" value="0"> <input type="hidden" id="wkgsclor" name="wkgsclor" value="0"> <input type="hidden" id="wkgSrono"
Chart (JQPlot) in collapsible list
Hello I try to make a chart (jqplot) in a list, and when I expand the list I would like to see the chart. But how? See my code: <div data-role="page"> <div data-role="header"> <h1>Header Here</h1> </div> <div data-role="content"> <ul data-role="listview" class="ui-listview-outer"> <li data-role="collapsible" data-iconpos="right" data-shadow="false" data-corners="false" id="my-collaspible"> <h2>Out<asp:Label ID="LabelActualOutHeader" runat="server"></asp:Label></h2>
translator
hi i want to add google Tanslator with flags n html website what will be its code?
download PDF from web service using json
Hi, I have a WCF service that creates a report in PDF, it works, since I have a C# app that use it, however I need to use the same method to obtain the same document in my jquery mobile application. This is the method that generates the document: public void exportToPDF() { SqlConnection conn = DbManagement.getConnection(); conn.Open(); SqlCommand objCmd = null; String sql = ""; String fileName = ""; DataSet ds1
Downloading multiple text files to the device and showing transfer progress
I have been tasked with creating what on paper seems a simple mobile application. Because of the portability, we have chosen the Intel XDK as our development tool utilising HTML5/JQuery. Basically, the mobile app will have three options: 1. Download data - stock, operators, accounts etc. 2. Process transactions - record items allocated to the end user and by whom. 3. Upload transactions - pass transaction details back to Back Office system. I have made a start on the first of the options,
Using ajaxForm with newest jQuery
Hi! I´m updating my website and my jquery image uploader sadly stop working.. I´m guessing it´s because of the new version of jQuery im using.. it gives me an error.. _____________________________________________________________________________ Uncaught TypeError: $(...).ajaxForm is not a function _____________________________________________________________________________ This is my code (its working on jQuery 1.7...) <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
Drag & Drop Problem...
Hi everyone! I am a jQuery newbie, and looking for a little help. I am making a drag & drop application. But I have run into a few problems which bring up a few questions. First of all, I have a box inside of a box. The main box is called .bullpen, the boxes inside the bullpen are . . . bpstore under there, I have created 6 smaller boxes that are called driverbox. The problem I have encountered is I cannot get all the bpSTORE's to be draggable.I can get one of them to be draggable. But not all of
Help on datepicker (with textbox) installation for complete beginner
Hi, I am competly new to JQuery. I came across looking for a datepicker widget and I seem to have found it in JQuery UI. I have just spent over a day to get the datepicker widget to work on my webpage, in vain. I find it all confusing and apart from the download button that do download, the code from the website (with a textbox linked to the datepicker) doesn't seem to work when copy/pasted to my webpage. Can someone please enlight me? A step-by-step beginners guide perhaps? Much appreciated. Vincent
Jquery and Codeigniter Issue - site_url
Hello, I was studying codeigniter and came across a very strange error. This error causes the page does not change only when I open the link a new page. Help me plz
Autocomplete with Dynamic Search on Classic ASP Page
Hi there: I am trying to use Jquery Autocomplete on Classic ASP populating from a SQL Database. I am using this page as the Autocomplete Page: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Untitled Document</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> <script src="http://code.jquery.com/jquery-1.10.2.js"></script> <script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script> <link rel="stylesheet"
Autocomplete problem
Hello. I'm trying to create autocomplete using jquery ui with php but it's not working. I don't know what I'm doing wrong. index.php <p><label>Team host:</label><input type='text' name='team_host' value="" class='auto'></p> ajax.js $(function() { //autocomplete $(".auto").autocomplete({ source: "search.php", minLength: 1 }); }); search.php <?php require_once 'dao/TeamHostDAO.php'; require_once 'includes/Connection.php'; $teamhostdao = new TeamHostDAO();
JQuery Idealforms 3. How can i send the info of the form to my mail?
Hi I am using Jquery ideal forms 3 to build a form. I cant get it to send the info of the form to my mail. The website is: http://www.happyhypotheek.info/mal/indexnieuw.html Anyone has experience with this form?
accessibility issue
hi all, in my android app i have a webview with some html ui. i use vh vw for controls, so that my ui scales proportionately for tabs. but problem is in text box when keyboard shows up, the entire page shrinks and when keyboard is hidden, controls are jumbled up. what is the way to stop this behaviour ? withot resizing page scrolling up is ok.
Next Page