Full calendar event.id undifined
I using Full calendar v1.6.4 plugin, and i have problem when new event is posted ant when you try to edit/remove it does not save in the database, if i refresh page after event post and try again it works fine, in first part i debugged and event.id is undefined, but i dont know why and how it can be fixed. My all code, main problem is in the eventResize function. $(document).ready(function() { /* initialize the external events -----------------------------------------------------------------*/
How to store checkbox clicked values throughout the pagination please help me
How to store checkbox clicked values throughout the pagination please help me
help me
how to create this forum mobile discussion ?
$.ajax POST with special characters in URL
Hi, Good morning, good day and good evening. We have a current program where I pass the username/password in the URL property of the $.ajax. However, if a user's password has #, * or % (and some other characters) on it i'm getting an error and the request won't reach the server. So basically I'm passing something like this on the url: http://mysite/get/{username}/{password} Is there a way jquery ajax call can accept these characters? I already used the encodeURIComponent function but this doesn't
validation label error
Hello experts, <input type="text" name="tel1" id="tel1" class="number" maxlength="3"/> <input type="text" name="tel2" id="tel2" class="number" maxlength="3"/> <input type="text" name="tel3" id="tel3" class="number" maxlength="4"/> The above telephone numbers inputs are autotab at the same time. When try to make validation them (required:true), errors give inline near inputs. But I want to do it with one label-error only near 3rd input!
How can I remember the RGB values of the color slider?
I'm using jQuery's color slider for a project. Basically I'm setting the initial RGB values outside the function. When the function is first loaded, the code below works as it should. I play with the color slides, and everything works great. But then, when I need to reload the color function within my project, how can I make it remember the RGB values where I left off? Right now, the color slider always goes back to 50, 50, 50 (RGB) when the function is reloaded. Thanks in advance. Here's my code
Autocomplete not getting closed on clicking on frames
HI, I have my page with many frames and I wanna my autocompleter to close when i click anywhere in the page regardless of frame containing the autocompleter. Please suggest how to bind a close event for all the frames.
How to show messages sent while php is looping
I have a php loop that is sending emails and I would like to have a message within a <div> that shows the number of messages sent. <div id=msgBox> echo $sent; </div> Is that something easy for a relatively new Jquery user? Todd
Jquery UI Sortable, move two tables together
I want to change order of some tables between them (tables, not rows). My code is more complex than I'll show you here, but as an example I will try to give you a short example. <table class="table-A"> <td><div>Move button</div></td> </table> <table class="table-A-next"> ..... </table> <table class="table-B"> <td><div>Move button</div></td> </table> <table class="table-B-next"> ..... </table> I want to move table-A and table-A-next (in the same time - together), with the button from
jquery dialog can't pass a variable to php
Well I have a function "openDialog" and I want pass a parameter PHP $Id_var in a table... but doesn't work function openDialog($Id_var) { $('<div/>').dialog({ modal: true, show: { effect: "explode", duration: 500 }, hide: { effect: "explode", duration: 500 }, open: function () { if ($(this).is(':empty')) { $(this).load('Ver_Estructura.php?id_ver=$Id_var');
Cannot ascertain if cell values in table are empty
Hi, I have a table where some of the inputs are text and some are date picker. When I enter all values and press submit, the validate function returns that some of the cells are empty. I check that none of the cells in the submitted table are empty. Regards, Arjun Script file: function sendval(){ var tosubmit = validateForm(); if(tosubmit){ showprog(); var myTableArray = convertarr(); google.script.run.withSuccessHandler(onsuccess).processLeaveForm(myTableArray); } if(!tosubmit){ alert("Please
Is there a better way to handle delay for multiple events?
Hi, I have written a JQuery function, where there are multiple elements fading in with CSS and JQuery. I am using JQuery to time the delay, and was wondering of a better, more efficient way to do this instead of just adding more time between the events. Code below. (function($){ $(document).ready(function(){ $("h2#Fancy").delay(3000).fadeTo(3000,1); $("h2#Personal").delay(7000).fadeTo(3000,1).delay(3000).fadeOut("slow"); $("h2#BG").delay(9000).fadeTo(3000,1); $("h3.tagline").delay(11000).fadeTo(3000,1);
cant´t change icon
Hi, I got some scripts from a former colleague to work on and have a problem: I´m looking for a way to change the symbol on a select form field. Usually it´s a filled triangle pointing down, but all I get is a grey, filled circle instead I´ve tried it with: $( "#XYZ" ).selectmenu({ icons: { button: "ui-icon-triangle-1-s" } }); where XYZ is the id of the <select> the statement is called inside $(function(){}); Thanks for your help
X-Requested-With is not allowed by Access-Control-Allow-Headers
I am developing one system. In that system there is one add item to cart functionality. In that functionality, I am using Jquery $.ajax used. But online server I have facing this error - "XMLHttpRequest cannot load domain name/add_to_cart.php?item_id=3&hotel_id=2. Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers." Can any help me how to solve this error. I am using this jquery code $(document).on('click', '.ordering_btn', function(){ var item_id = $(this).data('value');
load coarousel dynamically
hi to all i want a carousel to lode the data from a database(mysql)?
CSS Rollover with integrated Input field.
I have created a rollover that contains an input field that works like a rollover button in as much if the input field is activated the css block it is in changes colour as well as the background of the input field that gives the appearance that it is integrated and when the button loses focus it reverts to its original status. https://jsfiddle.net/a4poster/faLdY/203/ From the fiddle it works fine but when I try to port it into my code it doesn't work. I'am using the following on my code: <link
How to hide a frame if div content is empty
I have 3 html pages. main.html, page1.html and page2.html. I am displaying page1.html and page2.html in main.html using following code. <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> <script src="myjs.js"></script> </head> <iframe id="page_1" src="page1.html"></iframe> <iframe id="page_2" src="page2.html"></iframe> </html> page1.html code <html> <body> <table id="resultDetails"> <th>Result Details</th> <tr> <td>Row 1</td> <div id="r1">
document.addEventListene
I have the following statement document.addEventListener('mousemove', function(e){...}); It works fine. Now I want to target only elements with 'dv' tag. Can someone tell how to modify? Regards I.Sher
Content loaded with load() function not parsed by Google
Hi, on my site I am using the load() function to add an external html file to multiple pages. It works fine, but the external content is not parsed by google. For example, the content of the "Pin Headers" section on the following page is obtained from an external page via the load() function: http://modtronix.com/in485p-tbp.html If you google "in485P-TBP", and have a look at the cached result, you see the "Pin Headers" section is empty. The load() function only adds the content of the external page
multiplication in dinamic row
hello Jqueryer, how can i make multiplication in dinamic row, i just succes make it in the first row, hope fully by image can make you understand what my problem, and this is my code view <table class="table table-bordered"> <tr> <th><input class='check_all' type='checkbox' onclick="select_all()"/></th> <th>#</th> <th>Kode Barang</th> <th>Nama Barang</th> <th>Stock</th> <th>Jumlah</th> <th>Harga</th> <th>Total</th> </tr> <tr> <td><input type='checkbox' class='case'/></td>
Getting select's value with dynamic id
Hi; I create multiple drop downs with php and they have different ids. For example: <select name="product_type[1854]" id="p_type_1854" onchange="update_template_for_download(p_type_1854);"> </select> <select name="product_type[1854]" id="p_type_1855” onchange="update_template_for_download(p_type_1855);”> </select> How can I get the value of selected option? I thought this does it but this alerts "[object HTMLSelectElement]": function update_template_for_download(id) { alert(id); } And alert($("#"
Sortable - prevent to drop after given table row
Hello, please, it's possible prevent to drop table row AFTER a given table row while BEFORE a same row is drop allowed?
Prevent radio toggler from being checked on page refresh
Hello, I have long forms containing a radio group like this one: <fieldset id="ctrl_4139" class="radio_container mandatory"> <legend>How many locations?<span class="mandatory">*</span></legend> <input name="locations" value="one_location" required="" type="radio"> <label>One location</label> <input name="locations" value="several_locations" required="" type="radio"> <label>More than one location</label> </fieldset> <div id="several_locations" class="addForm2" style="display:none;">
Activate Month dropdown only when Year is selected from dropdown in datepicker
Please let me know how to achieve this scenario. I am using jquery datepicker. now my requirement is that User should only be able to select Year first than Month and than day. this is for Date of birth capturing. Please help me in this.That is becoz users while selecting their DOB are not selecting year of birth which is than taken as default and thus loss of business and revenue
Question about droppable events
I'm using the draggable/droppable functionality, but there's something I can't figure out. How do I detect which element was dropped into the same container and attach an event to it? This is what I'm looking for... See comments in the "if" statements: $(function() { $( "#mybox, #mysquare" ).draggable({ revert: true }); $( ".container" ).droppable({ accept: "#mybox, #mysquare", activeClass: "activeelement", hoverClass: "hoverelement", drop:
In a checkerboard example where does the (droppable) class come from
Checkers I have been exploring an example in which a checkboard was built. At the beginning of the script I noted the statement: $('.checkerboard tr:nth-of-type(even) td:nth-of-type(odd), .checkerboard tr:nth-of-type(odd) td:nth-of-type(even)').addClass('droppable'); My question is: in the addClass method, where does the droppable class come from... there is no reference to it in the program that I am including below... Also how the piece $('.checkerboard tr:nth-of-type(even) td:nth-of-type(odd)
Change all elements with css color:red; to color:blue;
Hello, Is it possible with jQuery to identify all elements with css color:red; to color:blue;? Thanks, Emma
Youmax code for weebly website
Situation Summary: Hello, my name is Thomas Flint and I run a small youtube channel for a while now. I like to improve my "professional" look, so I made a weebly site. Since I have my site, I posted my video's on there 1 by 1. Today I found Youmax, a code where you can make a embed player for you youtube uploads. Youmax website I Tried the whole evening to get youmax on my weebly site, but without success. I can't get the code working. Also I have no good idea what I am doing with coding. Question:
Help me.....
dear you , I have problems to help people ....... I would like to add the following code : when i click button "yes" created can be two or more file name revocation in one click "yes" , or to click on the "yes" has the timeout , I'm not good at English, I apologize to everyone please please help me solve this difficulty. thank you . $(function() { $( "#dialog:ui-dialog" ).dialog( "destroy" ); $( "#revocation" ).dialog({ autoOpen: false, height: 200, width: 460, modal:
Min verson
I use jQuery UI succefully but when I try to debug with chrome I get lost in the min version. Her is the URL that I use: https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js Can someone advise? Maybe the is a developer version in google? Thx I.Sher
Problem with cycle when hosting.
Hi, I have successfully hosted my portfolio on GoDaddy(http://www.albinekman.se). Everything works perfectly except one thing. I can't see the pictures that are inside the cycle plugin. I guess there's something wrong with the script. I should also say that the cycle works excellent in "preview mode" in Dreamweaver. I also read this thread, but that was not the problem for me. What do you think?
jquery datepicker not working with dynamic html tables
Hi, I construct a table with dynamic rows and bind the date picker elements to some of the columns. However, when a row is added to the table the date picker works only for the first row and not the rest of them. I tried to unbind and then rebind the date picker but does not work. Any help would be great. Regards, Arjun The code is attached for reference. $('a.add-passenger').click(function(event){ event.preventDefault(); counter++; var newRow = '<tr>' +
ingjecting an element between others
I'm searching for a toturial/sources of the code that implements the efect of ingjecting an element between other elements(if someone is familiar with Wordpress dashboard its implementd there in the widgets and also in the menu items). Regards I.Sher
Dynamic Created Button additinal effect
Good afternoon. I am fairly new to all this and am needing someone to point me in right direction with an issue I am having. I have the page working to create a button dynamically inside a div. When the page is first loaded all of the buttons when clicked have their color change and the rest of them return to their default color. $('.gradeButtons button').on("click",function() { $(this).siblings().removeClass('quoteGrading'); $(this).toggleClass('quoteGrading'); }); For some reason that I cant
Cycle auto adjust : good in chrome not in IE or Mozila
Hi, In drupal i use json2 and cycle plugin. I set the options for the plugin like this : http://drupal.stackexchange.com/questions/44662/make-views-slideshow-responsive-remove-inline-styles height auto width auto containerResize 0 slideResize 0 fit 0 In Chrome it is working very wel. In mozilla and ie the images are not resized. Any suggestions what i can check?
Jconfirm.
Hi, i am using jquery.alerts.js plugin for jConfirm and I have a problem. I would like that Jconfirm works like confirm in js that stop running and waits for my answer. This is my code: jConfirm("Confermi l'inserimento?", function (ans) { if (!ans) return; else risposta = 1; }); Thanks in advance. Tegatti
Dynamically removing tab entries after dynamically adding them
I'm creating tabs dynamically with: <div id="tt" class="easyui-tabs" > </div> function addTab(title, url){ var content = '<iframe scrolling="auto" frameborder="0" src="'+url+'" style="width:100%;height:100%;"></iframe>'; $('#tt').tabs('add',{ title:title, content:content, closable:true }); } I need to remove them dynamically. The suggestion from the man page is: $(
Problems w/ swipe gallery in demos jquerymobile.com
Hi. I'm a newbie of this field but I'm trying to learn :) I found a piece of code that works exactly as I like. It's about navigation by means of a swipe event and it shows a photogallery. It's a very nice effect. I found it in the demo pages of the jquery mobile site. I followed the instruction, I checked the code viewing the page source of the given example and the source of the online pages. But it apparently doesn't work. This is the link: http://demos.jquerymobile.com/1.3.0/docs/examples/swipe/swipe-page.html
Selector for first level div elements of any website
Hi there, currently I'm trying to implement a Chrome Extension which shall enable me to navigate through any webpage by using the left (previous element) and right (next element) arrow key. Its for my kodi couch potato machine. My first attempt was quite simple by adding tabindexes for each anchor-Element. The current element has a red box arround it, so you can see your current selection. Well it works, but its not really usefull if there are hundreds of links an the one you want to navigate to
How to retrieve a value from a url using jquery
Hi , in my application i want to load a page using jquery and same time i want to pass a value and return a result. i used following query var id= $('#ContentPlaceHolder1_txtstid').val(); $('#disp').show(); $('#disp').load("GuardianForm.aspx?id="+id);. my requirement is in guardianForm.aspx ,retrive value of id. as per the value of id i want to return a result. following is code in GuardianForm.aspx $.ajax({
type: "POST",
contentType: "application/json;
Next Page