Image not showing on dynamically generated Datepicker
I have an app where I'm creating deadlines, which can be either text or dates, so I have a hidden datepicker with the image, then capture that and save it to a text field. Everything works except when I create a new field on the fly. At that point, the image never shows up. I've tried using the datepicker("refresh") method and it still doesn't work. What am I missing and/or what do I need to do to get this to run? Pertinent code is: (NOTE: Body is XSLT) $(".addDeadline").click(function(evt) { var
Question about either Toggle or addClass
HI, It would be awesome if someone could tell me how to approach this. I have an unordered list like this: <ul id="add_class_to_this"> <li> <ul> <li> <a href="#" id="trigger>Trigger</a></li> <ul> <li>Other Stuff</li> <li>Other Stuff</li> How would I go about making a toggle of some kind to add and remove a class from #add_class_to_this when #trigger is clicked the first, second time. Also, there are going to be several of these <ul>'s on
typed.js – go to an URL after typing
Dear JQuery-People, i'm pretty new on working with JQuery and i have a little question: I use typed.js What do i have to change in my code, if i want to open an url automaticly, when the typing is finished? THANX in advance! Tim <script src="http://www.timrodenbroeker.de/wp-content/themes/trvk/js/typed.js"></script><script> $(function(){ $(".element").typed({ strings: ["Hello You! My name is Tim and i'm a german designer, focussing on short films, music and visual concepts."], typeSpeed:
Checkbox - accessing via class selector seems to work once and not again.
Hello Group! I originally thought this was a problem with jQueryUI but decided to try with out the UI and found its more basic. If I create groups of checkboxes and modify them via the class selector, I get some strange results. I have two groups of checkboxes all with unique id's and each group with its own class. I would like each group to reflect its checked value. The demo code below shows what I've done. When you click one "Test check A" (group A), then all of the A group checks will check.
update canonical link tag using jquery
Hi all this is my 1st post here =] I'm developing using wordpress 3.01 and for some reason i need to update the canonical link tag using jquery using jquery here is what i original have: <link rel='canonical' href='http://example.com.sg/jobs/' /> and i need to change it to <link rel='canonical' href='http://example.com.sg/jobs/view/someRandomID' /> my wordpress plugin allow me to fetch the correct URL via <?php wpjb_job_url() ?> So im assuming the code to be something like <script type="text/javascript">
Jquery Mobile App reading Credit Card Data
Hello, I am looking to see if anyone has any resources on how to extend credit card reading capability to an existing JQuery Mobile application. Are there any plugins and tools out there that support this? I hear that PhoneGap is probably the way to go but I don't know much about how to actually get the card reading done with it either.
keypress() not working in IE8
I am making a typing speed test and I am having trouble with IE8 ( I have only tested in Chrome v34.0 and IE8 so far.) In IE8 the keypress is coming back as undefined. I have this inside of a $(function() { var lastLetter; $('#typedTextBox').focus().keypress(function() { if (errorTest === "hasn't started yet") { errorTest = 'running'; run = setInterval(count, 1000); } //STOP ERRORS FROM PEOPLE HITTING SPACE BAR TWICE IN A ROW !!NOT WORKING IN IE8 var thisLetter = event.which; if (lastLetter
Click on page number of grid view working in ie8 but not in ie9.
Hi I have a gridview with paging enabled. I am handling beforeunload from clientside wherein i am calling a code behind function. When i click on page number the page gets unloaded,which is not desired . So i have aded below piece of code on my page number click to prevent call to code behind function. The problem is the code worked in ie 8, but doesnot work in ie9. -----------------------------------------------------------------------JS/JQ-----------------------------------------------------------------
draggable not working anymore after clone destroyed
Amateur question for sure but I can't figure it out: Every time I let go of the clone, I am unable from that point on to drag the original div anymore. $(document).ready(function() { $('#dragMe').draggable({ containment: 'parent', cursor: 'move', //snap: 'true', helper: 'clone', drag: dragEventHandler, stop: stopEventHandler, }); function dragEventHandler(e,u) {} function stopEventHandler(event, ui) { var offsetX = parseInt(ui.offset.left); var offsetY = parseInt(ui.offset.top); alert("stopped at\n\n
datepicker and two year dates with asp.net validators don't work in asp.net 3.5
The datepicker and the Asp.Net validators have errors in .Net 3.5. In I.E. you get the javascript message: "Error: Unable to get value of the property 'length': object is null or undefined" when the text box loses focus. In Chrome and Firefox it simply does not work. There is a common workaround on the internet to add a select method, but it does not work. Suggested workaround id to add an empty onSelect handler. onSelect: function () { } ref: https://code.google.com/p/jquery-datepicker/issues/detail?id=56
bootstrap button group
Hi I have a button bootstrap button group: <div id="cwEmailNotGrp" class="btn-group" data-toggle="buttons-radio"> <button id="_onNotification" type="button" class="btn css_CWEmailNotifyBtn"><span class="css_CWEmailNotifyBtnTxt">ON</span></button> <button id="_offNotification" type="button" class="btn css_CWEmailNotifyBtn"><spanclass="css_CWEmailNotifyBtnTxt">OFF</span></button> </div> and some js script to handle clicked event on the buttons like: this._onOnNotificationButtonClicked = function (sender)
masked input plugin is not working in android for phone and date format
I am using masked input plugin for my mobile apps to display phone format like this: (714) 323-4564. It works fine in IOs, but in Android is not working correctly. is that the android device or masked input problem. $('#phone').mask("(999) 999-9999"); $('#myDate').mask("99/99/9999");
Cycle2 Captions - Correct caption-template syntax
Hi, Using the programmatic method... jQuery('.slideshow1').cycle({ timeout: 0, prev: '#prev', next: '#next', caption: '#alt-caption', caption-template='{{alt}}', loader: true, progressive: '#images1' }); The captions are not appearing, and in the console, I'm getting this output. 404 (Not Found) From here this... <img src="http://www.*/h360/Chanel1.jpg" alt="Chanel"> Tried a bunch things here, I'm stumped and stuck. Thanks in advance.
jQuery Mobile: Integration With Joomla?
I would like to learn how to integrate jQuery Mobile with Joomla templates. Does anyone have a tutorial or guide me a direction that would give me some pointers? English preferred. Thank you.
how to use cross-domain to ajax load?
i add header to "bbb.com" php server like this header("Access-Control-Allow-Origin: *"); and in aaa.com like this <a href="http://bbb.com/" data-ajax="true" >test</a> but is not ajax load, how can i do? i need ajax load, sigh, demo please,
How to attach a validation message to something other than an associated label?
Hi, I have a vertical set of grouped radio buttons and I have put them in a fieldset so that the legend can be used as the group label. The results is as shown here. To get the validation done I used the method require_from_group from the additional_methods set, and created a rule for the radio button group. The problem now is that jQuery Validation always wants to associate the error message with the label and the only means of styling I found was to create a css rule for label.error, but it this
Function is executing automatically
Hello Everyone I am failed to figure out that why this function is been calling automatically .. I am trying to invoke it from another function but even if i do not call this funtion from other method ,, still it is been executing. function tab(){ var oTable = $('#example').dataTable( { "processing" : true, "ajax" : { "url" : "/Riyan/DataTableServlet", "dataSrc" : "demo", "type" : "GET" } }); };
back-button in dynamic header wont show
Hey guys, I am trying to load the back button using data-add-back-btn="true" in a dynamic header page with no success. I am loading the html page via jQuery like so (will shorten the codes a bit to show only the header stuff since its the only issue that I have. //js file loadHeader: function (page) { //$(page+" #m_header").load ("header.html"); $.get ("header.html", function (d){ $(page).prepend (d).trigger ("create"); });
different problem about jquery
Hello. event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery-1.9.0.js:3307 the 3307th line is: this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || Regards.
How can I us Cycle plugin & Fancybox Plugin together?
Hi I am a beginner to JQuery/JS. I am able to set up the Cycle plugin and Fancybox plugin and get them to work separately however they won't work at the same time. I have included my code. Any suggestions on how to fix this or what I am doing wrong would be greatly appreciated. <link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" href="fancybox/jquery.fancybox.css" type="text/css" media="screen" /> <!-- include jQuery library --> <script type="text/javascript"
Video Player
Estou desenvolvendo um player de vídeo e esta acontecendo um problema quando carrego outro vídeo, quando abro uma nova div no jquery usando o load do jquery os timer do video bagunçam e ficam piscando os 2 timers do vídeo anterior e do novo vídeo, os timers do vídeo estão nesse código: ----------------------- I'm developing a video player and a problem is happening when I load another video when I open a new div in jquery using the jquery load video mess up the timer and blink timers 2 of the previous
how to add 2 panels
Hello I try to create 2 Panels, but I don't know what is the problem can you help me <html lang="ar"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>panel demo</title> <link rel="stylesheet" href="//code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css"> <script src="//code.jquery.com/jquery-1.9.1.min.js"></script> <script src="//code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script> <style> .panel-content {
evaluation of input field on pressing a key or when the cursor is moved out of the input field
Hi , how to evaluate if the input field entered is "hello" when a key is pressed or when the cursor is moved out of the input field..., if the input entered is hello ,the user has to be alerted hello else "wrong entry". <input type="text" id="entry" class="input" placeholder="Enter text here"> thanks.
Can i use data-ajax="true" to external links?
bbb.com/2.html,like this <a href="aaa.com/1.html" data-ajax="true">test 1 </ A> i want use ajax load,but is invalid, how can i do?
horizontal jquery arrows navigation next previous
Hello, I'm trying to implante right and left arrows navigation on my horizontal webpage but the problem nothing happens when I click on arrows. Here's my fiddle in case of : http://jsfiddle.net/jarod51/StZR4/9/ Do you have any idea how to solve it ? My jquery code is : $(document).ready(function() { var $item = $('div.slide'), //Cache your DOM selector visible = 1, //Set the number of items that will be visible index = 0, //Starting index endIndex = ( $item.length / visible ) - 1; $('.flscrolld').click(function(){
Help Pinning Elements with ScrollMagic Jquery Plugin
Hello, I am using ScrollMagic( GitHub Link to plugin). I am trying to pin an element. I have dissected the code from the demo and the tutorial but cannot get the desired action to work. I have attached the code I am using here codepen the plugin uses a lot of Green Sock Animation Platform. I know I have the external files loaded correctly because I am using other features from this scrollmagic plugin. Any help would be very appreciated (and save some more hair from being pulled out) cheers
resize with vertical scroll bar in div
Hi All, I have a divs where i applied jquery resize in all directions (n,e,s,w,ne,se,sw,nw), resize cursor is not showing for east direction in IE, when there is vertical scroll bar in div. But this works fine in firefox. sample fiddle is here. http://jsfiddle.net/NTy6H/11/ Regards, M.Seenuvasan
Open pop window while closing parent window
Hi experts, I have got an requirement like while closing parent window or browser i need to show another pop up window about our site like feedback page. In jquery onunload or onunloadbefore event i have tried. i didn't get result
Slider not loading on server but it does on localhost
I am using bootstrap template on http://asinnetworks.com but the slider doesn't loads until I inspect element, while trying the same files on localhost everything works fine. I have hosted the website on CentOS 6.5 with cPanel on it. The other thing is slider works fine on another server which is ubuntu 12.04. I think jquery doesn't require additional plugins, so what could be the cause of the script not functioning properly.
Problem Call ExternalInterface flash function
I made a plugin webcam, I can not make a function call ExternalInterface flash in my plugin. is there someone who wants to help :), The function work when not in the plugin. $("#webcam").get(0).actionSelfie("getCapture");but I want make it on plugin like this: this.Capture = function() { if (opt.flash == true) { //this my problem camSelector.actionSelfie("getCapture"); } else { } } error message: actionSelfie is not a function,,
Select HTML Row and get cells Values.
Hi, I working on a html table and want to get row wise information of that. please check the attachment. this is my code <?php //if(isset($_POST['submit'])) // { include ("db.php"); $query_for_result=mysql_query("SELECT * FROM pro_production ORDER BY production_id"); $num=mysql_numrows($query_for_result); //echo <<<end //<table align="right" > //<tr> //<td bgcolor="#6f0d00" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; padding:3px 5px 3px 5px; color:#FFFFFF;" >Total
Dynamic collapsible in 1.42
I have added a dynamic collapsible set via jquery load in my content division. The data is loaded correctly and I can show the page with $(':mobile-pagecontainer').pagecontainer('change', '#tablet_frame', { transition: 'slide', changeHash: false, reverse: true, showLoadMsg: true }); where #tablet_frame is the id of the page. Unfortunately the content is not enhanced and the set is not collapsed. I have tried both (where append_tab_data is the place the set was loaded):
Play a song on a click without leaving the page
I'm new to this so sorry in advance! I'm making my own site and I saw this site http://headlockmusic.com and when you click on a song, it plays without leaving the page. After looking around I'm almost sure that it's a query thing. Could someone please pass on a way that I can do the same thing with my songs. Thanks a lot.
HTML5 WebSQL Databases.
Is it Ok to use a HTML5 WebSQL Database in my App and will it be acceptable on submission to the App Store? Thanks.
Move jquery to QWebView
Hello I want to copy the jquery code to c++ to utilize it for QWebView 1. Is there a library that can be included into QWebView? 2. Is there aversion of jquery that is chopped into pieces, so that I can copy it more easily? Sincerely
Gravity Forms Date Picker
Hi People, All I am trying to do is limit the YEAR when using Gravity Forms date picker, for example the year is 2014, previous years should NOT be allowed OR shown when using the picker. Can anyone point me in the right direction. Thanks in advance.
jQuery is not defined
Hello to everybody. I have a problem. For looking up some things via developer tools in my HTML page it says me: Uncaught ReferenceError: jQuery is not defined jquery-migrate-1.2.1.js:521 In 521st line is: }) ( jQuery, window ); what's the problem ? please help. Thanks and regards
How to address the activated tooltip?
Hello, I'm looking for a way to address the shown tooltip on the open-event. $(document).tooltip({ open: function(event, ui){ $(WHATEVER).css("color","red"); // for example }}); Actually I want to store the last shown tooltip in a global variable to address it from another function. I tried it with "this" and "event.target", but it doesn't really work. Any suggentions? Ciao hasenpfote
cannot publish jquery plugin after changing my github user name
Hi everyone, I changed my github username from Wayou to wayou, then I cannot publish my jquery plugin anymore witch was published before. And the log says : Sat, 19 Apr 2014 02:34:31 GMT github/wayou/SlipHover v1.1.7 cannot publish sliphover which is owned by github/Wayou So my question is how can I publish a new version of my plugin after my username getting changed. Thanks in advanced!
Issue accessing JSON returned from my REST Api
I have my Webservice(REST Api) http://localhost:8080/SpringDataSource/rest/emps.json which is running in my localhost (http://localhost:8080/SpringDataSource/rest/emps.json) returns a json as shown below , [{"id":3,"name":"biathlon","role":"10000"},{"id":4,"name":"skijumping","role":"nh"}, {"id":5,"name":"speedskating","role":"1000"}] I have this piece of JQuery code which is executed from a html file to hit the webservice to get the response, function doGet() { $.ajax({ type: 'GET', url:
Next Page