Following or commenting a bug
I am interested in jquery ui bug #10544: https://bugs.jqueryui.com/ticket/10544 I was wondering how I can find out updates on this bug (eg: status or when it will be fixes). Also, is it possible to add comments to this bug so that I can voice my interest in seeing this bug fixes as well. Thanks
Adding 7 days or 5 days to datepicker
I am developing an mvc application with some datepicker textboxes and Radiobuttons. What I need to do is, there is a dropdownlist box with values --Calendar or Business . When a user select a business and pick a date from the two datepicker textboxes,5 days should be added to start date so date difference between start date and End date should be 5 business days. When Calendar is selected, 7 days should be added to start date so the the date difference between start and End date should be 7 days.
How does $.post work on the data passed to it ?
In jquery a $.post method can be used in the following way: $.post('fileupload.php', { data: result, name: fileName }, function(){ console.log('yeeey'); }); see how the secound parameter is a plain object , and PHP the data can be picked up like so: $data = $_POST['data']; $fileName = $_POST['name']; how can the parameters of a object be read in this fashion ? or is it that $.pos() method internally uses $.param to convert the object literal passed to it in the 2nd parameter to a string ? is
Disabling a javascript
Hi how can i remotely disable my own developed js component after some one has used it in his,her website ? how can we protect our js code in general ??? any guides ??
Exception Handling with php
Hi There, I want to ask how to handle some exception in middle of the process (I'm working with PHP). my js is : $(function(){ var request; $('.naviref').on('click',function(){ if(request){request.abort();} request = $.ajax({ url: "html.php", type: "post" }); request.done(function (response, textStatus, jqXHR){ alert(response); var text = JSON.parse(response); alert(text); if(text.error){ alert(1);} }); request.fail(function (jqXHR, textStatus, errorThrown){
@font-face not working,help me please
@font-face { font-family: 'customfont'; src:url('font.ttf'); } div{font-family:'customfont';} my code is working at android webbrowser, but is not working in my jqm+phonegap apk, the same code is not working,i dont know why,help me please Or Can i used cunstom font in android by jquery?
Multiple javascript files conflict - jQuery.noConflict()?
Hi, I'm currently making a form for uploading new members to a web page.I built the form using JotForm which includes js files for controlling the style (hide/show fields, fields that are required turn red, etc.) The js for this form worked fine on its own, but I also included a picture crop/upload as an extra. This also worked when I was testing it in a separate web page on its own, but now combined with the form, the js conflicts and I don't know how to stop that. My script head section looks like
Change function dynamically
Hi there, I'm using a function that hides and shows content. $('.new-customer-details').enableValidators(false); $('.quote-customer-select select').change(function () { var selected = $(this).find(':selected').val() if (selected == '-1') { $('.new-customer-details').slideDown(); $('.new-customer-details').enableValidators(true); } else { $('.new-customer-details').slideUp(); $('.new-customer-details').enableValidators(false); } }) In my example
SlideToggle only the first direct element?
Hi, Could you please check this out and let me know why by clicking on a li element all .hiddenDivs open? CodePen Example I want to achieve that by clicking on each li element only the next direct .hiddenDiv element of it opens and all the other .hiddenDivs remain hidden. CodePen Example
How can I stop a jquery slider?
Hi everyone, I'm trying to customize a blogger template and I'd like to stop the sliders that appear on every post (you can see hee: http://drlivinghome.blogspot.com.es/). I'd like to have a still photo instead. Can you please tell me how to do this? Many thanks
how to learn hybrid advance jquery mobile app
I know the basics of jquery mobile now I want to jump into creating advance/hybrid jquery mobile app. Can someone pls suggest me some online video tutorials which can help me to learn and give me the enough confidence to build any kind of apps. Books, online video tutorials anything would be fine. Thanks
Problems using jquery validator with SharePoint 2013 list forms
Hi, I'm experiencing problems implementing validation using jQuery validator in SharePoint 2013 list forms. My forms are OOTB and altered using CSR templates. My problems are that the error messages do not match the controls that they are assigned to so that all controls with an error will display error text for another field. I've never had a problem before and have been using jQuery validator with SP 2010 and 2013 custom list forms so I'm experienced with jQuery validator. Has anyone experienced
jQuery is not changing the function of my HTML
Hi there, I have made a web page about the default HTML tags as part of some HTML tutorials that I am working on. My page should, when you click next, reveal the next part of text, and when you get to the end of the tutorial, this next link should hide and the one that takes you to the next tutorial show. Attached is my jQuery and HTML code. Thanks The Code: <HTML> <HEAD> <TITLE>Coding Kids HTML Tutorial</TITLE> <link href='https://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
Update height of div when height changes
Hi, I currently have a div which i am getting the height off. Current height is 72 pixels when the height is equal to or the same as 72 i display "20" when the div goes over 72 pixels i want to display "25". I have done this so far but want the height to automatically change to 25 when the div goes bigger than 72. $(function(){ var height = $(".input-container").height() $("#SignHeight").text(height); if (height <= 72) { $("#SignHeight").text('20'); } else { $("#SignHeight").text('25'); } });Any
malsup jquery form beforeSerialize passing file data
Hi, I am using malsup jquery form for uploading images for asp.net. I have three FileUpload in my webform. Ids are FileUpload1, FileUpload2 and FileUpload3. In my server side I wish to parse the file as below: httpPostedFile = HttpContext.Current.Request.Files["UploadedImage"]; If my fileUpload control name/id is UploadedImage, it is working fine. But I have three controls , so I gave them three different Id. ------------- In my previous code I used form Data. It wa possible : eg: var data = new
Distinguish between different reasons for failed AJAX requests
I have a question regarding an issue I ran into, which is connected to these two tickets, which got rejected: http://bugs.jquery.com/ticket/12675 http://bugs.jquery.com/ticket/13171 How is it possible to distinguish a failed Ajax request, which failed because the user navigated to another page, from Ajax requests that failed because of errors, not directly triggered by a user action. Currently I see no way to do so. To reproduce: 1. Navigate browser (tried Chrome 46, Firefox 42) to http://jquery.com
Jquery datatable function which permanently binds a table id to datatable.
Are there any datatable function which permanently binds a table id to jquery datatable? Thank you
Combo Box Menu Tree with Thumb Images
Hi.. I am trying to create a Combox Box, which might be the wrong name. The first links below is an actual Combox Box in html5.. Its a bit boring and can't be edited or thumb images added.. The second link below is my attempt.. Basically, I would like a Tab that expends down, to reveal a bunch of names of Groups or thumbs if I want. Each of these opens up a bunch of Thumb images within Groups.. At the moment my attempt is far too big and ugly.. I just want a single Image Tab.. Perhaps I should draw
How to get Ken Burns effect with JQuery Cycle plugin?
See the object. Thanks
Give a solution my problem
Hii I am new to jquery, Actually I am doing a small project, in my project have four check boxes. if user select one checkbox display some data from database and checkbox is unchecked user comes to actual state. if user checks two check boxes and display two checkboxes related data from db. P{lease tel me sol for this prob and give advice or any idea to me for this please. i Thanks in advnce.
Access to assembled html using .append
I am trying to use the jquery.append function. I am curious as to how the results of the .append activity can be viewed, particularly when there is problem with the script being used as input in the append function. What tool or tools must I use in order to see the built html code in the DOM? Any help/guidance on this matter will be really appreciated. I have searched the posts, but I am not sure what keywords will zero in on the proper help. Alastair
Submit Form - With Two Forms On Same Page
Hello, I'm looking for correct way to handle form submit where two forms exist on same page on the same page I have a contact form with <form class="form form-validation form-contact" method="post"> which I want to post to contact.php and also a newsletter sign-up form where I just want to email the data: <form class="form form-validation form-newsletter" method="post"> which I want to post to newsletter.php Jquery as follows is working to submit the newsletter signup forrm but I can't work out
jquery Date Format , date changes to today date
I have datepicker control to which when date is assigned there is some abnormal issues related to format. 1.When date returned in dd/mm/yyyy format from server side and jquery dateformat is set to dd/MM/yyyy then date does not change 2.When date returned in dd/mm/yyyy format from server side and jquery dateformat is set to dd-M-yy then date changes to todays date not as send by server side code
Help with simple jquery slider
Hi, So, I have this basic slider which splits values between 0 and 20000. Moving the slider to the extreme left correctly displays 20000 in the left input and 0 in the right input (I want it this way). But taking the slider to the extreme right should display 0 in the left input and 20000 in the right input. Need help correcting this. http://jsfiddle.net/3sdzf0vq/1/ Thank You
How to add username to my button link
Hi, My button name is et_pb_promo_button and i want that when some one clicks on that then link open in new tab and add key=username ..but there is something wrong iin my code. it opens in new tab but doesn't add username <script type="text/javascript"> jQuery(document).ready(function(){ jQuery(".et_pb_promo_button").attr("target","_blank").attr("target","username");}); </script>
JSONP doesn't work from Windows 2012 server
Moved a web site from a windows 2008 R2(IIS7) server to a 2012 R2 server running IIS8.5. This web site uses jquery.jsonp strategy to access a web service on a different domain. It doesn't work anymore. In fact any web site on the 2012 server will not access any url from a different domain even if the different domain web site is on the same 2012 server or on the old 2008 server. The same site works from the old server or from a development machine running windows 10. Both of which will find, access
How To Create Dynamic Variable On The Fly Base on Array of Element and Then Truncate It
I am trying to send an array of Messages trough PHP SMS library but there are a limit of 150 character in each delivery time. so I am thinking to slice the array to several message and send them one after one. Here is the Array which I have var sms = [" 1. Head west on Whiteley Ct toward Whiteley Ct (48 m)", " 2. Turn right to stay on Whiteley Ct (0.1 km)", " 3. Turn left onto 27th St (0.2 km)", " 4. Turn left onto Lynn Valley Rd (0.9 km)", " 5. Turn right onto the ramp to West Vancouver (0.3 km)",
Simple Single Image Tab Dropdown...??
Hi.. I am very new to all this stuff.. I am trying to create a simple image dropdown via a tab.. So when the users clicks or mouse over on the tab, an image will drop down.. Can someone please guild me into achieving this... I found what I am trying to achieve at this website link.. https://amgacademy.com/aerial/360-Aerials/ It has a simple tab where text, which I am assuming is a graphic, drops down.. I can create menus but to create a single image dropdown seems to be a lot harder.. Thank you
addClass function / multiple "div" . please help
Hello friends (ºº)/ How the addClass function is used when multiple "div" and you only want to modify one? ... For example "background-moon" <div class="background-sky"></div> <div class="background-star"></div> <div class="background-sun"></div> <div class="background-star03"></div> <div class="background-moon"></div> <== this <div class="background-site"></div> Thanks for the help
Interesting Cordova issues with JQM.
I have been playing with Cordova for the last couple of days and I have most of what I want working. I just ran into an issue that changePage would not work until I add the flat $.mobile.allowCrossDomainPages = true ; What is interesting is ajax calls worked just fine. Is this the way JQM has to work or am I missing something? This is my change page code. var url = oLoginmgr.baseurl+"/admin/cor/admin_login"; console.log(url); //$.mobile.changePage(url); $("body").pagecontainer('change',url);
Rerender an iframe
I have the code for an iframe that sets its width automatically when the page loads. I built the site with a responsive web design and unfortunately this iframe does not allow me to dynamically change its size at the media queries breakpoint? How can I make rerender plugin with jquery at media queries breakpoints? Is it possible or i have to reload the entire page? Thanks! Manuel
Having Issue on Wrapping Last <td> of Each Row in ( ) on The Fly
Demo I am trying to load each row of a table in element of an array using this code var arr = []; $('#authors tr').each(function () { arr.push($(this).text().trim().replace(/(\n)/g, ',')); }); console.log(arr); But I need to wrap the last <td> of each row in ( ) then I tried to add () like this $(this).find('td:last').before( "(" ); $(this).find('td:last').after( ")" ); This is doing the job but it actually adding () to the table which is not required. Now can you please let me know
Onclick button show div (the div should hide the button in the process)
Hey all i have div and within this div i have a form. I want to show this div when a button is clicked. This all works fine but i also want the original button to be hidden when clicked upon (basicly i want the div to be on top of the button hiding it) When the div is closed (by completing the form or clicking on the hide button i want the div to dissapear and the button to reappear (all without realoading the page) How can i achieve this. <div id='d1' style="display: none;"> <form> <input type="text">
why duplicate my code $.each, please help
hi. I have problem with my code, need to compare to arrays, and next compare my two arrays, this result append in a div, my problem code is here: array1, array2 for( i = 0; i < array2.length; i++ ){ if( array1[i] == array2[i] ){ /* in here is correct*/ console.log(array2[i]); /* is correct just show me two elements*/ //console.log(arrayh3.length); // the problem is below code this repeat two times in div.prometheus-about jQuery('.prometheus-about > h3').append('<div
Object Does Not Support Error
Using below code and it is giving error that click event does not support..Please suggest <asp:Button runat="server" ID="Btn_Submit" CssClass="btn btn-primary" Text=" Submit " Width="100" /> <script type="text/javascript"> $(function () { var FU_Solution_Document = jQuery.trim($("#FU_Solution_Document").val()); var Txt_Client_Name = jQuery.trim($("#Txt_Client_Name").val()); var FU_Business_Case = jQuery.trim($("#FU_Business_Case").val()); var
.val not updating the value of a hidden field created using .html
I have an html form that loads with a <div id="orders"></div>. The user can trigger an event that makes an ajax call that returns an xml file that is parsed out into multiple forms using $("#orders").html(newHtmlCodeFromXml) to create this : <div id="orders"> <form id="order_1"> <input type="hidden" id="pid_1" name="pid" value="123" /> </form> <form id="order_2"> </input type="hidden" id="pid_2" name="pid" value="123" /> </form>
How to move a div from right to left when page is being scrolled down?
Hi, I want to move a div from right to left ,when page is scrolled down .I am new to using jquery and i got some code from jsfiddle ,which i tried to use ,but unable to get desired solution.The div element is nested inside other div elements ,does that also effect the transition? Any help would be gretaly appreciated .Thanks <script src="js/jquery.js"></script> <script src="js/jquery-migrate-1.2.1.js"></script> <script src="search/search.js"></script> <script src="Scripts/jquery-ui-1.11.4.js"></script>
Method scrollTop() - works wrong in Internet Explorer
Hello Everyone, I am facing an issue with the method "scrollTop". I have 2 div tags what are the same sizes of height, width and the vertical scroll bar. when I scroll the first div, I want that the second div is also scrolled in the same position with the first div . I implemented this by the way: $('div_id2').scrollTop($('div_id1').scrollTop()); It works fine in Firefox and Chrome, but I got a small position deviation between 2 vertical scroll bars of the div tags in IE . when I try to log
About popup and select menu in IOS9
There is a problem: When a select menu / popup is first activated, it appears, and then is hidden. I find a solution that's tell me to set $.mobile.hashListeningEnabled = false, but it cause a side effect. When the popup was closed by user, it can not open again at that page. What can I do? It's work before ios9 or android platform.
Superfish - Won't open child menu's
I have recently experienced a problem with the superfish menu on my websitere, where the child menus no longer opens up. I do not recognize what I may have for this to happen and have tried several attempts to fix it, but i have no idea on what to do now... I have tried to look into the JS console on chrome, but cannot see what may cause this. The website is http://oldtrafford.dk/ Versions: Drupal Superfish module 7.x-2.0 with the latest superfish library code.
Next Page