jquery tabs not posting parameters to php file
m trying to post parameters to php file and after that to load it in to a jquery ui tab. the problem is that tabs are not posting. GET is working fine but i want to use post. here is the script code : HTML <div id="tabs"> <button id="add_site">Add Tab</button> <ul id="sortable_tabs"> <li id='site_10'><a href="engine/make?dobavkata=10" data-url="10" title="public buildings" data-make="make_content" data-id_site="10">public</a></li> <li id='site_4'><a href="engine/make?dobavkata=4" data-url="4" title="News"
Animate Border Until Selected Element Sequenty
Can you please take a look at this demo and let me know how I can add animation to borders properly so when use clicks on `a` the all previous borders get the `anime100` class after each other in a sequence what is happening now is adding the `anime100` to all anime classes at the same time? <ul class=""> <li> <div class="box"> <div class="left"><a href="#">A</a></div> <div class="anime"></div> </div> </li> <li> <div class="box">
Little help
Dear fried, I am new in jQuery area programing and need me some little help for my problem. I wish use Select option list for change value in next HTML cod: <div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-interval="3000"> data who I wish change is value in data-interval="3000" How I can do that with select list example <select id="interval" > <option value="1000"> Fast</option> <option value="3000"> Normal</option> <option value="5000"> Slow</option>
after clicking on anchor fragment I want to detect "target" event on the target element
I have an anchor fragment (year buttons) which is linked to a table header (year table header). I want to detect "target" event triggering on the table header after someone has clicked on the anchor. For example: clicking on the 1843 button will wisk the user down to the 1843 table header. Is this thing?
Safari not filtering searches
Hi Guys, I'm working on ride365.com and if you use Safari to search for year/make/model for parts, it returns all results instead of the inputted query. Using jquery version 1.7.2 now. Should I upgrade jquery to 2.1.3? Platform is Magneto with an Ultimo Theme. Can someone lend a hand please? Thanks!
How to do an ajax to google custom search website?
After the first time the user clicked the search button, the result from google custom search loads fine but additional searches did not trigger the google custom search again. <script> (function() { var cx = '004626212387516433456:aex2tyveipy'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse,
What is the n1, n2, ... class in the divs that contain the line number for code examples?
In an attempt to become a better coder I would like to understand the purpose of those classes. I have attached a screenshot of what I am trying to ask.
Hello am about to turn and starting CSS and jquery . Desire is to develop more
Please assist me in web designing .I will be grateful to experts who can guide me through the fundamentals
Do I need paid tools to build hybrid website ?
Are there only paid tools for building high quality websites ?
,hml not accepting formatting
I notice that .html doesn't take any formatting, as I'm trying to do on line 4 below. $('<div></div') .attr({id: "make_link_tip"}) .addClass('ed_tip_top_row') .html('External target: <code>http://amazon.com</code>.') .prependTo('#make_link'); It won't even take <b> . . .</b> Is there a way to format some of the text? Thanks
Creating complex DIV for a prependTo
I’m working with a row of buttons that were created on the fly by the TinyMCE editor. A lot of these buttons are custom buttons that I created so I’m trying to add a blue dot on the button that can be clicked to bring up an explanation, as below. The problem is that the explanation box is positioned relative to the canvas, not the button. The TinyMCE toolbar will appear on top of whatever box opens it, and the boxes can be anywhere on the screen when the editor is called up. To get the explanation
.delay(ms) not working
I'm trying to allow a tooltip to be hovered over for 700ms before it displays. I have the code: onmouseover:function(editor,url) { $('#lhinc_tip').delay(700).show(); }, onmouseleave:function(editor,url) { $('#lhinc_tip').hide(); } The tip shows immediately as soon as it's rolled over. Why doesn't the .delay(700) run? Thanks.
empty after submit
i need help my submit button i need to empty contents after the button is clicked. http://plnkr.co/edit/SgkLADYEPD9QUTvekFB0?p=info ok
seperated code not working
i have just seperated my code into their correct locations html, css, js in webstorm, but now the code does not work. and my submit button how can i empty page after use. tryed its not working. https://jsfiddle.net/daisys77/odu2w3wo/13/
Is there any smarter way for this code?
Hello mates, I was wondering if is there some better way to write the code below: $("#fuma_tempo").hide(); $("#fuma_qnt").hide(); $("#fuma_ex_tempo").hide(); $("#fuma_ex_duracao").hide(); $('#fuma').click(function(){ if(this.checked == true) { $("#fuma_tempo").show(); $("#fuma_qnt").show(); } else { $("#fuma_tempo").hide(); $("#fuma_qnt").hide(); } }); $('#fuma_ex').click(function(){ if(this.checked == true) { $("#fuma_ex_tempo").show();
How to get active fetch ajax requests count?
When a site is using jquery/XMLhttp requests we were able to get active ajax calls in the backend using jQuery.active. But when a site is using aurelia fetch for ajax calls, how to get number of active fetch calls in the backend? tried by injecting some javascript code too get calls but not able to get active fetch requests being processed (function() { var oldOpen = XMLHttpRequest.prototype.open; window.openHTTPs = 0; XMLHttpRequest.prototype.open = function(method, url, async, user,
PageContainer "ChangeHash: false" updates browser history
As a newbie to JQM Page Container, I am wondering if my understanding of this feature is incorrect. Please help. I am using the foll code in JQM 1.4.5 with Apache Cordova: $(":mobile-pagecontainer").pagecontainer("change", CurentPageUrlWithSuitableQueryString, { allowSamePageTransition: true, changeHash: false, transition: "slide", type: "post" } ); In my code, On clicking any collapsible Divider on the displayed page, I go to JQuery (and via above code ), I go again to the current page with a suitable
How to select an option of a combobox from ajax that has different option values?
(Note: although I mentioned Magento, this is NOT a Magento question, it's about jquery). I have a form and I've used a jquery script to autocomplete address based on zip code. The problem is that Magento brings a state/region list which values are different than I got from ajax result (webservice). For example: the value returned for state is "SP" (Sao Paulo) and the value that should match in select is "508" instead of "SP". How to populate that select correctly? See the select here (Magento generates
jQuery Dialog - scrollbar positioned at top of dialog after scrollTop()
Using: //ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js //ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js I launch a jQuery UI modal Dialog containing an iframe. The contained document has anchors with corresponding navigational links. When a link is clicked I use: $(window).scrollTop(anAnchor.position().top); This brings the content identified by anAnchor into view however the dialog's scrollbar is positioned at the top of the dialog making it impossible to then use the
jQuery install errors on two windows 8.1 PCs
Hello, I am trying to download jQuery from jQuery.com. I have downloaded the uncompressed version and the compressed version and get different errors for both installs. I tried it on two windows computers and get the same errors. Second problem I have screenshots in a word document as an attachment to show you but get an error when I try to upload it from my desktop Please advise it says to contact the portal admin. I think I need more space to upload it. I tried sending the screenshot ias a zip
The explode effect needs some serious performance improvement
It works really slowly, especially when requestAnimationFrame isn't supported, or when on a mobile device, or when you set the pieces parameter to 25 or more. Here's a live demo: jQuery Explode VS pure JS Explode (performance comparison). Try it! Try setting the pieces option to 10 (10x10 = 100 pieces). Depending on the device and browser, either the animation will be very jumpy, or there will be no animation at all. There are two problems with the jQuery effect: 1) As far as I know, most jQuery
Security bug report
Hi! where i can privately report security issues in jquery libraries?
Jquery conflict
Hello friends. I have a critical issue with my last project. I am using template wt_boss with helix framework. On mouse hover on calendars these fields disappear. Please check at http://mykonosrna.com Also, take a look at bottom of this page http://mykonosrna.com/apartmnts-and-rooms-in-mykonos/2-apartments-rania.html on fields "arrive" "departure" Any suggestion will be helpful. Thank you in advance.
Executing event functions on load
New to jQuery and have some issues with the code below, guess it is simple but I fail to see why slideToggle() and xhttp request is executed on load without click- or selectionchange-event. Why? <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <meta name=viewport content="width=device-width,initial-scale=1"> <title>Title</title> <script type="text/javascript" src="https://code.jquery.com/jquery-2.2.4.min.js"></script> <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
jsfiddle code need help jq mobile pages css codes
heres my code i created compulsory to use multipage method jquery mobile i can not get the css code to work on my ui-login and ui-signup pages. my input box and buttons are showing up large on the andriod emulator and no colour.,etc . can some one help fix this problem. i spent days trying everything with no success. i still need to connect other pages to this index file also I have the same issue button etc are showing up wide.. so first i need to fix issue with css thank you www.https://jsfiddle.net/daisys77/s4b6hv2m/3/
select data with datatables plugin
Hello, I want to show data with the DataTable plugin. I use a mysql database for save the data. But now I get the error: No data found. But I want select the data from the php file. My question is: How can I select the data from the mysql with the DataTable plugin? Can someone help me what is going wrong? thanks in advance index.php: <!DOCTYPE html> <html> <title></title> <head> <link rel="stylesheet" type="text/css" href="css/jquery.dataTables.css"> <script src="js/jquery.js"></script>
Hello! I found BUG
Sorry, I bad speak English. I wrote the script /* Generator <?php $ucode = rand(1000,10000); $password = rand(100000,1000000); ?> /* Form <form method="post" action="form.php" id="Checker"> <input type="text" name="ucode" value="DF<?=$ucode?>" /> <input type="text" name="password" value="<?=$password?>" /> <input type="submit" name="send" value="SEND" /> </form> /* Handler form.php if(($_POST["click"])){ $ucode = clear_string($_POST['ucode']); $password = clear_string($_POST['password']); $test =
jQuery UI memory leaks
Need some information on jQuery UI memory leaks fixes. Are there any memory leaks in jQuery UI 1.10.0 which are fixed in later versions? especially in jquery-ui-custome.js components like resizable selectable,etc.., on chrome Can you provide details on in which version they are fixed? I want to upgrade to that version
jQuery grid layout - newbie questions
hey volks, sorry for disturbing you i see you rolling with your eyes about my stupid questions. i am totally new to javascript and jquery but i have to solve a challenge but i dont know how to start i bought a wordpress template and installed it. Thats the link: http://panm.formkoalition.de Everything is fine i did some css but: I want to manipulate the grid in a style you can see in this link: http://cargocollective.com/titusandronicus This cargo site grid is absolutely beautiful. I want now to
sortable - need more examples
page: https://api.jqueryui.com/sortable/ Sortable need more examples, better examples. Typical, you need move items and send all ids to server. I not found good example. Not full example. Not for methods. Good example i found on https://codepen.io/Sinetheta/pen/qvbCr Code: HTML <ul id="image-list1" class="sortable-list"> <li id="a">A</li> <li id="b">B</li> <li id="c">C</li> </ul> <ul id="image-list2" class="sortable-list"> <li id="1">1</li> <li id="2">2</li> <li id="3">3</li> </ul> JS:
is correct how i used .prepend() ?
Hello, I made a page using jQuery That adds elements at the click of another element using .prepend (); It works fine. in html we have this element: <label>Motivo del Reso / Guasto * <span id="charNum1">(200 Caratteri disponibili)</span></label> <textarea class="difetto" id="difetto1" name="difetto1" cols="50" rows="2" maxlength="200" required="required" aria-required="true" placeholder=""></textarea> and at the end of body i use jquery for count number of chars in textarea: jQuery('#difetto1').keyup(function
How to make a tab active when a page is loaded in PHP/jquery
i have used the following code <script> $(function() { $('#tabs').tabs({active:1}); }); </script> <div id="tabs"> <ul> <li><a href="myprofile.php?option=mp">My Profile</a></li> <li><a href="myprofile.php?option=mbm">More about me</a></li> <li><a href="myprofile.php?option=cop">Checkout your peers</a></li> <li><a href="myprofile.php?option=tr">Test Results</a></li> </ul> </div> <?php @$opt = $_GET['option']; if($opt=="") { //error_reporting(1); } else{ switch($opt) { case 'tr':
what's the proper way to select a nested div with jquery?
What's the proper way to select a nested div with jquery? My specific example looks like this: <div id="reportTitle"> <div id="line1"> <div id="line2"> </div> I need to set the values of line1 and line2 of reportTitle. I want to make sure that I don't set the value of some other line1 and line2 elements on the page. So I'm looking for something like this: $('#reportTitle > line1').text('test1') $('#reportTitle > line2').text('test2') What's the proper way to do this?
jquery mobile css.index
https://codepen.io/mathdotrandom/pen/crfCD login template https://codepen.io/ehermanson/pen/KwKWEv Signup template My issue is using jquery mobile creating app that will have many pages inside. My problem is the css files from these two pages where do I place in my css.index. I have tried that putting both codes on to that css.index then nothing is happpening just plain layout. Can someone show me example layout how css should be with these examples templates.
jqurey library
There are tons and tons of functions that jquery provides her uses to use but when i try to understand what each one does its kinda complicated from the way they describe it here. ok fine i know what .hide() or .fadeIn() does but other more complicated ones i cant really get what they do do you have any suggestion on sources where i can understand easier what jquery functions do?
Angular JS
Dear All I am new in AngularJS anyone can tell me how to achieve this task. When i select something from dropdown menu the related information in the readonly fields through JSON file. The below is the image .... Thank you in advance
Load form after all JavaScript loads
I have a form where a variable is dependent upon an external resource. When the form loads prior to the JS running, it displays blank fields from the record in the db. How can I delay the form from loading until after all JS loads?
jQuery UI Tooltip with AJAX loaded content
The title says it all. I tried to bind tooltip using $( document ).tooltip(); - but my website freaks out and starts loading a blank page instead of showing the tooltip as soon as I hover the element O.o. If I use $( '.tooltip' ).tooltip(); - everything works fine. Except that with AJAX loaded content, the tooltip is not working (of course, because the plugin is initialized upon document.ready). Any hints? Thanks. Paddelboot
Hide all elements but the first 12
Hi, The else if part of this code is not working. Does any one know why? HTML <div class="row tile-list-wrapper tile-person-list"> <div class="js-reveal-target"> <!--#include file="tile-person.html" --> </div> <div class="js-reveal-target"> <!--#include file="tile-person.html" --> </div> <div class="js-reveal-target"> <!--#include file="tile-person.html" --> </div> <div class="js-reveal-target"> <!--#include file="tile-person.html" --> </div> <div class="js-reveal-target"> <!--#include file="tile-person.html"
Autopopulate datepicker fields based on another datepicker field
I have form with multiple datepicker fields. Monday through Sunday. I would like to populate Tuesday through Sunday's dates based on Monday's selection. Here's where I have gotten with no luck: $(document).ready(function () { if ($('#form_44084').length) { var DAYS = ['#element_2_datepick', '#element_3_datepick', '#element_4_datepick', '#element_5_datepick', '#element_6_datepick', '#element_7_datepick']; $('#element_1_datepick').datepick({ onDate: function(date) { return {selectable: date.getDay()
Next Page