I m Not Getting , .Change Event For Jquery DatetimePicker
Hi Team , i have a textbox in readOnly Format , Which is my DateTimePicker . I wanted To Fire a .change Function , But it is not working fine? Please Let Me know how Do this ? I do not Want To Use Onselect Function. In Short i want the leave TextBox Event for the DateTimePicker , and also i do not want to use the .Blur function.?
Textbox change event doesn't fire the first time when testing on the Test server by the users. It works fine when I test on the Test Server.
I am using the following Code to invoke change event. $( "#<% = txtBox.ClientID %>" ).change( function () { SetText(); }); This code works fine in debug environment and on the test server when I test it. It doesn't work for other users the first time they change the text. It works the second time. I am using JQuery 1.4.1(again, it works fine for me)
msite sticky category its working only in mobile apps like redmart.com
I am working on msite design with jquery i had problem when i click on top left its shows me all categories like Fruits & vegetables or Groceries & staples when i scroll it i want Groceries and staples should be stick to header basically its all about categories when scroll it should be stick to header again i scroll next category its also stick (for e.g: we can see in redmart.com mobile app )
Hi Simple Jquery Validation
Hi have a TextBox , I want to Accept the Inputs in dd/mm/yyyy , Should be Numbers only . Please let me know. If Data Not Entered in the Correct Format , It Should display me Incorrect Format and return false .
Using jQuery to delete a row in MySQL?
Hello, I am new to jQuery am having a hard time coming up witha solution for the following. I have a table with a delete link at the end of every row. I use Bootstrap to create a modal to confirm the deletion and have jQuery delete the row. Unfortunately it is not working. All I get is the first row on any one page passed the unique id to my delete_item.php page via the jQuery. I have numerous hours reading up on jQuery and tried numerous examples but nothing works. I'm hoping someone here can. Here
Check irregular letters one by one
Hi, I need a pattern for match or test function to check letters from a string. I need to check letter one by one and if a letter is irregular returns false, for example : var Str = "Hell?o W<orld>"; this string has some irregular letters and these are "?<>" place of irregular letters can be change... thank you
Problem with input:text with filter
Hi, I am working on learning more about jQuery selectors. I have a simple page and I wrote two simple scripts to change the colors of the odd/even text input objects. Here's the HTML and JS code: Selectors.html <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>jQuery Selectors</title> <script type="text/javascript" src="/resources/jquery/jquery.1.11.1.min.js"></script> <script type="text/javascript"
how to use anchor tag to send some information to another php page?
like using menu to post value to another php to perform some task and show a table with CRUD operation..... simple way.... i m new in jquery..
Why isn't my code submitting this data?
Hi Experts, This is a highly condensed version of my code to make it easier to hopefully get some help. I have a code that returns just one department code based on user Id. This works. It works because the value of the code returned is stored in this input textbox control: <input name="deptId" id="deptId" type="text" width="300" value="<?=$deptId;?>" class="changeable" /> Then I pass the value of deptId to Ajax code below: <script type="text/javascript"> function CallService() { //Creating
Treemenu and tab
hello how can i do this http://app.zeepeak.com/help/ tree menu and link action to tab menu. its very cool
Change the dropdown list form arrow by an image
Hello, On a mobile site i would like to use a 13x16px image instead of the default dropdown list form arrow. Here is the form code. <div class="select"> <label>Sort By <select id="dropDown1"> <option value="latest">New videos</option> <option value="top-rated">Top Rated</option> <option value="most-viewed">Most Viewed</option> </select></label> </div> What would be the jquery code to do this? Thanks
.finish() on effect won't restore effect (Bug?)
Consider this: $(element).finish().effect("highlight", {}, 4000); When called multiple time, the background color locks onto the state it had when last called, so a double click on the trigger for this will make the element permanently highlighted. Feels like a bug, but is it? When .finish() is called on an element, the currently-running animation and all queued animations (if any) immediately stop and their CSS properties set to their target values. All queued animations are removed.
Variable setting
I am using .ajax to get the price of a product. It returns fine. Outside of the .ajax function, when I go to alert it, it produces an undefined. Before the .ajax, I do a "var price;". var price; $.ajax({ url: 'process.php', data: { productID2 : product}, type: 'post', success: function(output) { if(output){ price=output;
How to display a message when a droppable widget option accept returns false
Hi, I use Jquery UI v1.10.3. I have droppable widget in a tree with a accept property. When the accept option returns false, it is not possible to drop any element in the tree. I need to display a message to the user when it is denied to drop. The message have to be displayed in the dragging element frame. - I do not find in the droppable widget any event which enables to modify the dragging element. - How to get the dragging element frame when the accept option is set to false ? I would really
Why dynamically created div element is throwing error when I'm adding id to it?
In below example, I've highlighted two of the lines, Ist one is working but another one is not working unless I would add $() around it. var $tableParent = $myTable.parent(); <!-- Following would work --> $divParent.attr('id','parentDiv'); <!-- create a new element --> var $newDivElement = document.createElement('div'); <!-- $newDivElement.attr('id','dynamicdiv'); --> <!-- why this is not working ??? --> $($newDivElement).attr('id','dynamicdiv');
want to change calendar in dateinput jquery based on selected days from another textbox
i am using two textbox one for number of days and second for date input. which are working together if i enter number of days in one textbox then the dateinput show the next date by adding days in current date but in calendar date does not change you all can see in the attached image. i want to change the date in calendar as well. kindly help to solve this issue thanks.
How to set the Selected Value for the DateTimePicker after Blur event
Hi Team , As I have two DateTimePickers , InDate and outDate . My requirement was as i Choose the Selected InDate from the DateTimePicker then , thereafter I should Open the OuDate Calender by using $("#outDateID").datepicker("show"); But When i fire Blur Event of InDate DateTimePicker the Blur Event Fires , but the as i select Different dates its not getting Selected in INDate DatetimePicker. My Question is now how to set the Selected Date for the INdate While Using Blur . Please find
Smooth scrolling help :c
Hi everyone! Im trying again to smooth scroll an anchor link in my page and i just got tired triyn', srry for being a noob, can anybody help me? here is my code: http://jsfiddle.net/carosolenoc/uf9j2vtp/ (Ignore the jquery file)
add active class to menu
why can not add active class in a href for php Link
Disabling and Enabling Field in Jquery
Hi Team , I have a four textbox fields. Out of Which First textbox is enabled and remaining three i have Disabled on the document.ready . My requirement , After Filling the data in one text box , the second textbox should get enabled. After Filling the data on the second textbox , the third textbox should be enabled. But the the Previous Should Field Should have value , then only next field should be enabled . please let me know ASAP , how to meet this requirement ?
Disabling the DateTime Picker Textbox
Hi Team , I just wanted to Disable and enable the Datetime picker TextBox in Jquery? i have a Simple TextBox , and Another Textbox Which is a DateTime Picker. if i enter the Value in First TextBox , then only My Second Datetime Picker Textbox Should get Enabled. i have done , but facing the Issue of Image icon of DateTimePicker also , the Textbox gets disabled but Still on click of image icon , Calender Displays. In the Disabled mode i dont want the image icon to display calender. Please find
[jQuery] window.onbeforeunload fires in IE when a JQuery UI Dialog is opened
This is very frustrating. I have the following code $(window).bind("beforeunload", function() { // get's instances to all three editors var edMainT = FCKeditorAPI.GetInstance('edMain'); var edSecondaryT = FCKeditorAPI.GetInstance('edSecondary'); var edAdditionalT = FCKeditorAPI.GetInstance('edAdditional'); // check to see if the editors are dirty (have there been any changes?) if (edMainT.IsDirty() || edSecondaryT.IsDirty() || edAdditionalT.IsDirty())
IE 10 will not load jQuery from server.
Hi, I've got a nice asp.net intranet application that I am working with Works great in "http://localhost:4545/" But.. not when running off my server from IE 10, IE 9, IE 11. it is acting like there was no jQuery or CSS. Everything runs fine off of the server inside (Chrome or FireFox). What is different about debugging in localhost than running it off of the server? Andy..
I Get a undefined OnSuccess
Hello. I'm getting a Undefined value OnSuccess response and never fire a WebMethod.... (asp.Net vs2013, Framework 4.5 jquery 2.1.1) This is MyCode: <script> function fun() { PageMethods.GetPageMethod(onSucceed, onError); return false; } function onSucceed(result) { alert(result); // HERE I Get a long HTML as Server Response instead a "Welcome PageMethods" string } // By the way, debugging
hasClass returning false despite selecting based on class
So I'm selecting elements based on their class, for example: $.each($('#gender_chart .nv-slice'), function(i, value) { }); OR $('#gender_chart .nv-slice').each(function() { }); No matter which I use, if I then print out hasClass() for $(this/value), I get false. For example: console.log($(this).hasClass('nv-slice)) console.log($(value).hasClass('nv-slice)) As you can see, I'm looping through all elements with the class 'nv-slice', but then calling hasClass('nv-slice') on any of these elements returns
Issue with window.document in IE 11
HI Every one, I have strange issue on my JSP page like strings "Undefined" are displayed every where on page. I have given sample code snippet below and help me out to resolve the issue. gave source code as well for your reference. open_link4 will return the window object. Please provide me the resolution as as possible. private void writeTopLinks(Claim claim, JspWriter writer, IClaimVehicleFacade claimVehicleFacade, RolloutDelegate icsRolloutDelegate) throws IOException { if (SecurityThreadUtils.hasAccess(Function.CLAIM_NOTES_ADD))
Calculating Subtotals
I've used jQuery on and off for a couple of years but never enough to fully understand all the features. In the past I've used it to (say) sum up a column of inputs (on blur) and put the sum into a span as a total at the bottom of the column. My challenge this time is that I've got to do subtotals. And I'm stuck. Hopefully the html below is self-explanatory. The html is dynamic but I have full control of it so I could add indexes or extra attributes etc. The number of inputs and subtotals is dynamic/variable.
Opening DateTime Picker
Hi Team, I have a Textbox , Where i have made it Jquery DatetimePicker . I have Buttton Go . Now Once i click the image icon Calender , the datetimePicker gets displayed. Now if Suppose the user does not select any point date . Then , When user clicks go the button , I will not fire the validation message but instead the image calender icon should get open. Please let me know how to do this ?
Problem with ajax calling for dns redundant url resolution
Hi, I've this code: var PUBLIC_URL = "http://localhost/smailer"; and appart of this, I call to jQuery ajax method as this: $.ajax(PUBLIC_URL + "/admin/ws/insertNewNode", .....); But the ajax call is never done, due tries to connecto to http://<AN IP>/admin/ws/inserNewNode. Excepts localhost as shown in the code. Why jQuery or JS tries to solve the url before send the calling? Then the calling is never done due it fails de CORS (crossDomain, and I don't want to enable it). How can to correct this
Download file in a survey
Hello, We try to add a jquery on our website in order to allow user to download file. This document should be sent automatically by mail to our email address. For now, we find this jquery which display the download bar : <form enctype="multipart/form-data"> <input name="fichier" type="file" /> <input type="button" value="Envoyer" le="" fichier="" /> </form> This function works well (you can test it here) but when you save, the document is not reccorded. Do you have an idea to complete
How to set global variable between two html number inputs
Hello, my first post... I am trying to use two different html number input boxes to set a global variable that runs an endless looping number counter. The first input works fine but the second one loses focus after it's clicked? (I'm new at this really) What I want is to be able to change the variable by clicking either of the number inputs. If I want one of the numbers running, I just click it or change the value. If I want the other value, just click it to change, or change the value. It seems
NEED HELP Using JQuery change the background color of the header tag to the color represented by hex value #336 (#333366)
How would I do this exactly? Using JQuery change the background color of the header tag to the color represented by hex value #336 (#333366)
multiple animations, staggered, on 1 object.
Hi - I understand about queuing (and not queuing) and callbacks etc.. but can't figure out how to achieve this type of animation/sequence. Let's say I have an element and I want to animate it (for example) like this: Animate from left: 0 to left:500 over a duration of 5 seconds. But - half way through that animation (after 2.5 seconds), I then want to start another animation on the same element like this: Animate from top:0 to top:200 over a duration of 2.5 seconds. (so in this instance both animations
Adding dropdown dynamically
Hi, I want to offer my users a means where they can select an item from a dropdown and select the quantity from another dropdown. I don't know how many items they want in advance, so want to create the item/quantity dropdown pairs dynamically. What happens is the new pairs ids and names increment, but the previous ones ids and names don't. This is the code: <?php session_start (); ?> <!doctype html> <html lang="en"> <head> <title>Document</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
How do I distingish this from server down?
Hello, In the middle of ajax request, if you navigate away to different page by clicking a link, it throws error... When I looked at the status, that was 0....which is same status returned when the server down. Actually, I compared two scenario, server down and page navigation away in the middle of ajax request... I noticed that both scenario has returned same error information, which is status 0, and readyState 0...statusText is "error".. I was googling to find out some information... I found a
Evitar desorden de fila en tabla / How to avoid disorder on table header row?
Hola queridos amigos. ¿Cómo puedo evitar el desorden de la fila de cabecera de esta tabla al mover a la derecha la barra de desplazamiento? Gracias a Subhranil, se avanzó mucho en este. Pido ayuda por favor. Hello dear friends. How to avoid disorder on table row header by moving the scroll bar on the right? Thanks to Subhranil, progress was made in this. I ask for help please. jsfiddle: http://jsfiddle.net/gxon5o4L/6/ Objective: Esto no/ This does not:
Jquery
Hi All, Can you please give recommendations on how to "Encrypt" & "Decrypt" cookies on the client side using Jquery? Much appreciate all your time and help! Thanks, Sathya
Enabling and Disabling in Jquery
Hi Team , In my application i have two options textboxes as an Datepickers. Both TextBoxes are labelled as in In-Date and Out-Date. My Requirement is such that , When i Load the form , Out-Date Textbox DatePicker Should be disabled. Once I fill the In-Date Then Only the Out-Date Should be Enabled. Please let me know how to do this
What's the best way to use response headers and JSON in response?
Hi, This problem bugs me for a while because I don't know the best practice, so I wanted to ask it here. I have a single $.ajax promise chain on my forms. Basically, just this: $.ajax({ dataType: 'json' }).done(function(response)) }).fail(function(response)) }).always(function(response)) )); I respond JSON in backend with 200-OK header. return \Response::json(['message' => 'Hello world'], 200); When I do the following: done(function(response) { alert(response.message); // Hello world }) It
Accordion Default
Hello all, I have a simple accordion menu which just needs one tweak to be finished. As of now, all of the accordion lists elements are closed and waiting to be opening upon load. However, I need the first element of the menu to be open by default. Any ideas? Thanks in advance! Jquery: <script type="text/javascript"> $(document).ready(function(){ $("#accordian b").click(function(){ //slide up all the link lists $("#accordian ul").slideUp(); //slide down the link list below the h3 clicked - only if
Next Page