data-inline='true' is broken after loading jqueryMobile 1.2.0
jqueryMobile Button enhancement divs are being sized at 78% since loading version 1.2.0, even though the element is tagged with data-inline='true'.
slideToggle shows trailing on words
Has anyone ever run into an issue with trailing text when using the slideToggle. Wasn't sure if you needed to see the code or if this was a quick fix. still trying to adjust my css, but here is the link: demo notice the text way off on the left when you try to click on the + then minus buttons. You'll notice the trailing I'm talking about.
Trying to parse xml
Im trying to parse the xml within the <def> tag. I would like to deal with the contents of the <def> tag line by line as it is layed out below, however, each line is has several tags that are not wrapped in some kind of "line" tag. Any suggestions? Please comment <def> <sn>1</sn><dt>:<ref-link>mouth</ref-link></dt> <sn>2</sn><svr><va>boca arriba</va></svr> <dt>:face up, on one's back</dt> <sn>3</sn> <svr><va>boca abajo</va></svr> <dt>:face down, <ref-link>prone</ref-link></dt> <sn>4</sn> <svr><va>boca
$.post and nodeJS problem. (Never Success)
Hi, I have a problem with a $.post. I send a JSON file to my nodeJS server and it is well received by the server. (I can handle it with NodeJS) But client-side, I never have the success of the $.post. saveJSONtoServer : function() { var self = this; var JSONvar = self.makeJSON(); $.ajax( { url: "/handlerJSONentrySaver", type: "POST", data: JSONvar, dataType: "json", success: function(data)
jqgrid inline edit
Hi all, I use jqgrid with the inline edit function. Now I have the issue that the data will only send to the server by hit of the enter key. I would like to have a function which send each typing key will be send to the server. Can anyone help me? Many thanks DJ
Hiding HTML based on input field value (on load and on Keyup)
Hi guys, I have the below jQuery which works regarding checking the data within an input field after keyup. This works. What I also need it to do is check on page load as well. So for example, if the value in this field is already 'Bob' then hide the relevant section of my page, alteratively, if it says 'Dave' show this section unless I then change this to Bob, in which case it should then hide it.... Hope this makes sence <script type="text/javascript"> jQuery(document).ready(function(){
Insert Data into database using Jquery
How can i add data using jquery. If this is my simple HTML Code <body><input type = "text" name = "username" id = "username" value = "" /></body> how can i insert this using jquery code
Datepicker - How do I restrict the months shown with maxDate value in place.
I currently have my datepicker to allow to pick from current year to 2017...ie) $("#datearrival").datepicker({minDate: 0, maxDate: "+5Y", changeMonth: true, changeYear: true}); $("#datedeparture").datepicker({minDate: 0, maxDate: "+5Y", changeMonth: true, changeYear: true}); If i want to also only have certain months shown in each of the +5 years....how can i achieve this? Thanks D.
how to use eventdata on ajax events?
Hi, 'normal' jquery events (onclick,etc) allow me to pass an eventdata object that I can later access through the passed event object (event.data). Can I do this with Ajax events? e.g. $.ajax({ url: "data.php" ,dataType: 'json' }) .success({myCustomParam: 'a value'}, function( jsonObject ) { /* how do I get to the event.data from here? */ })
jQuery Menu highlight
I was able to figure out how to change the background color and font of my menu items using the style class .ui-menu and tag li like this: .ui-menu li { font-family: Arial; font-size: 12px; background-color:#FEE098; padding-top:1px; padding-bottom:1px; border-top: 1px solid white; border-bottom: 1px solid white; } Now I am trying to change the color of the highlight as I move my mouse over each item. Currently it is a grey or silverish color by default. I want to change this
Can I protect email from spambots
Hi, I will protect an email adress from spambots, how can I do this? thanks for helping. best regards guenter
Finding the top of a moving div
I have a code snippet that looks like this: <div id="a"> <div id="b"> <p>text in b</p> </div> <div id="c"> <p>text in c</p> </div> </div> When I issue a = $('#a') b = $('#b') a.css('top', '50px') b.css('top') at the console, i expected to see "50px" or close to it. Instead, "auto" appears. Can anyone help me understand what I am doing wrong?
Jquery Hover issue (works in my test project - not main project)
Hi Everyone, 'm having an issue with a Jquery Hover using mouseover - I know the code works as I've got it working on my test site (this is just a front end test site...no backend code at all). I think the issue is that in my main site it can't find the element - Might be to deep for the script to find the ID. Anyone got an idea on how I can get this to work? See code below Jquery Code:- <script type="text/javascript"> $(function () { var moveLeft = 20; var moveDown = 10; $('#trigger').hover(function
License
Hi guys, is it possible to remove the version number but keep everything else in order to satisfy both the licensing and an external security audit which requires version information to be removed? Thanks! O.B
More problems with settimeout
Hello, I just cant seem to understand how this settimeout function works. $("#mapwindow").dialog({ autoOpen: false, modal: true, show: 'slide', hide: 'slide', height: 400, width: 500, buttons: {
?Question regarding Table to excel
Hey guys, I am new to Jquery and was wondering if anyone can help me out. I have a auto generated table with a function to save it, and download to an excel spreadsheet , My question is... is it possible to save the escel spreadsheet server side and sent it in an email to the user? Here is the current code for the download. <script type='text/javascript'>//<![CDATA[ $(window).load(function(){ $( "#saveExcel" ).click(function() { var stats = $('#stats').html(); window.open('data:application/vnd.ms-excel,'
Nested droppables and even propagation
Hi all, I've got a canvas on which 2 types of div's can be dropped: projects and users. So basically what I'm trying ot achieve is linking users to projects, each user can participate in multiple projects and a project consists of multiple users. So far so good if I drop a project it shows the project div with the projectmembers within. If I drop a user div it shows all the project divs in which the user is participating. So the canvas is droppable for users and projects and a project is droppable
New jQuery messing up a plugin needing an older version
Hello, I am currently trying to implement the Better Coda Slider in my WordPress header (NOT as a WP plugin). It works alongside my other plugins in Chrome and IE (more or less) but in Firefox, it falls apart. Better Coda Slider uses jQuery 1.2.6 and works just fine in all browsers (see: http://jqueryfordesigners.com/demo/coda-slider.html) Without jQuery 1.2.6, it resorts to being a scrolling inline frame, which I don't want. See here for my usage of it: http://www.monwho.org/registration/ (Yes,
1.2 Final, Performance issues. Why?
Hi i have ported a few applications from version 1.1 to 1.2.0 Final and recognized a serious loss in performance. When the pages contain a few elements,lists, forms and so, then the application "freezes" before page transition animations start, even on the jqm documentation page. Its happening on all of my test devices: iphone3, ipad3 and an asus transsformer tablet with latest android installed. I would like to know what the reason for this behaviour is? Cheers Stefan
Possible bug when refreshing list view
Take one list item containing an anchor - possibly cloned from a hidden list you made earlier. Add this list item to another list and call .listview('refresh') on the list to update the layout. The layout of the list item breaks - the padding increases. The same thing can be simulated by calling .listview('refresh', true) on a list that already contains a list item with an anchor. The class ui-li-static is being added to both list item and its inner div. If this class should be there for the layout
JQuery Download
When I attempt to download either the development or the production version of the jquery library it opens text in a browser window. I'm assuming this isn't correct any help would be appreciated. Thank you.
Using settimeout within loop to eliminate slight page freeze.
I have an ajax function that gets html data every 10 seconds and then runs a function that loops through an array and performs functions that update the content on the web page. I am trying to implement a settimeout within the loop to delay the dom inserts a little to eliminate slight page freezing in IE. The problem I am having is that I cant seem to pass in the variables within the loop to the functions. Can someone please assist? Below is a code snippet: //Loop Through Items for
id which contains [
Hello, I have several ID's of input textfields. The textfields are getting the ID's from the system for example id="custom_param[0][attached_products]" because of the "[" symbol I'm not able to select the id's with jQuery. Is it possible to select them anyway? greetz stausen
Open Modal in new window
Hello, Is there a way to open a modal screen into a new window?
jQuery Fade In Fade Out turning image black in IE8
I am using jQuery to fade in and fade out images, and it works find in every browser except for IE8 in Windows 7. It will turn the image black with a gradient, then switch to the correct color. How do I go about fixing this? http://webapps.easy2.com/ce/ext1108/iris_alarm.html
how can i animate the number stored in the file?
I have a php script that check the total hits made for a web page. But now i want to animate that number stored in a file called hits.txt The below jquery script has value attributes ( is it possible to replace those values to the ones which is stored in the file hits.txt url )? the file where the hits are stored http://benson.vivoartistic.com/hits.txt jQuery('#testAnimation').click(function() { // Animate the element's value: jQuery({value: 0}).animate({value: 110}, { duration: 1000,
Jquery Cycle + preload with image
¡Hello guys! Im using cycle in order to show an slideshow of images, but I need to preload the images with a loading.gif. I tried a lot of options, but anyone works well. Any idea? Thanks in advance.
Please help I am trying to create this slider.
I have been trying to complete this slide effect in this example http://artistecard.com/JBoog I really like how the boxes slide when you click the links on the top. Does anyone have an idea on how to complete this it will be much appreciated Thank you
identify a jQuery script please
Hi, Please see URI https://www.spoton.com/. Click the forward and back buttons on the home page. I've been wanting to incorporate this type of slight element movement and fading for some time. Is there a script that is a clear frontrunner for doing this easily? Thanks, John
Scrolling in a jQuery constructed table
Hello: My application has a jQuery constructed table, that works quite well. But... I can't get the <tbody to scroll. No matter what I do. Whether I use CSS or inline styling, the scrolling doesn't work. And I'm wondering if it's not picking up max-height and scroll settings because the table is constructed with jQuery. You can see how the table is constructed in this thread. Following are the applicable scripts: HTML table w/inline styling: <table id="GroupList" class="layout"> <tbody style="background:yellow;
jQuery Fade In Fade Out turning image black in IE8
I am using jQuery to fade in and fade out images, and it works find in every browser except for IE8 in Windows 7. It will turn the image black with a gradient, then switch to the correct color. How do I go about fixing this? http://webapps.easy2.com/ce/ext1108/iris_alarm.html
Auto calculation of input fields
Hi all, I am trying to make this code bellow to work, I would really appreciate your help. Basicly it is Calculation of sum of three input fields and then multiplication with two other fields. The final result should be shown in a input field pcamount. Here is the exemple in jsFiddle: http://jsfiddle.net/D98PW/ Bellow is the jquery script and the html Thanks in advance for your help! $(document).ready(function() { $('input[name=deposit], input[name=minpremium], input[name=adjpremium],input[name=procombaserate],
Combine jQuery Form Validation Plugin + basic captcha scheme?
Hello I'd like to use a simple JavaScript anti-spam scheme and found this one that requires the user to add two numbers. Problem is, I'm no JavaScript expert and don't know how to have the jQuery plug-in go on validating the form once the user has answered the math question successfully: <html> <head> <script type="text/javascript"> var a = Math.ceil(Math.random() * 10); var b = Math.ceil(Math.random() * 10); var c = a + b function DrawBotBoot() { document.write("Résultat
retrieve value
I'm trying to let my Jquery retrieve a form value, for example whatever has been filled in at the textbox named key1. The Jquery coding I have so far only returns "undefined", which is frustrating cause I've been trying to get this fixed for hours. Btw. how come my fadein function doesn't work (when uncommented), this is part of jquery ain't it? <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> <script> $().ready(function(){ $(".button").click(function()
Menu with submenu expendable to down (not right side) + not collapsed on blur automatically
Hi all. I have three questions about menu component. I'm using jquery 1.8.3 and UI 1.9.2 versions. 1. How to make menu subitems expendable below selected menu item? I'd like to expend selected menu (by mouseover/click) and show subitems below parent item, NOT on right side. Here is a code example how I would like it to work (code is NOT for jqeury-ui) - http://jsfiddle.net/blandger/yDN5x/ I took shown example from that blog post and adopted it a little. Here is an example with 'stripped off' styles
how to remove dynamically created divs as get() sucess
In a page i create and remove #container dynamically using append and remove. I found an issue trying to remove #container that was dynamically added, in result of an ajax get(). function ajaxNavigation(link) { $.get(''+link,function(data) { if(data!='KO'){ $('#container').remove(); $('#column_left').append('<section id="container">'+data+'</section>'); } }); } and later in the page $('document').on("click","#button",function(){ ajaxNavigation('link.php'); }); The issue is: remove() dosen't work,
why my tooltip didn't hide when I put my TextBox TextMode on Password?
Hi I Use Jquery UI Tooltip for my signup form,everything is OK but when I put the text Mode to "Password", The tooltip don't hide ever,even when you press Esc key on keyboard. what should I do now? It will be ok when I remove this: TextMode="Password" but its a necessary part that I can't remove. My Code: <asp:TextBox ID="UAtxtPassword" TextMode="Password" ToolTip="Please insert your password!" CssClass="UAtxtPassword" runat="server"></asp:TextBox>
Feature request - $.ajax lazy loading
Hi, why couldn't we store in a var all our $.ajax requests and execute them only on need? If i write $.ajax({something}), the request actually is automatically executed. I'd like to store this request in an array and execute them programmatically. If this is already possible, please tell me how...! Thanks Matteo P.S.: obviously I could wrap AJAX requests in an anonymous function's body and store its reference as an array element. I'm asking about why this couldn't be implemented as a native functionality,
[SOLVED] Fake Scroll and Input
Hi there! I have developed a "fake" <SELECT>, because of project requirements. My code is easy to understand, I have an <INPUT> and a <DIV> with an inner <UL>. Whenever I click on the <INPUT>, the <DIV> is showed (hidden by default by CSS). Whenever I pick one <LI> from the <UL>, the <DIV> turns hidden, or if I change manually the <INPUT> value. But the problem cames when I click somewhere else of the page without picking one of the <LI>. I had tried with myInput.blur(function(){ //something here
How to Add number to classname
Hello, i am new for jQuery and i want to know when i use this code: $(function() { $('ul li div').each(function (i) { $(this).addClass("col-" + (i + 1)); }); }); div can add class col-1, col-2, col-3 etc <ul> <li> <div class="col-1">Menu</div> <div class="col-2">Menu</div> <div class="col-3">Menu</div> </li> /* But next li tag div add classname col-4, but i don't want this, i want col-1, col-2, col-3 */
Next Page