Using 1.0 with Dreamweaver CS6 what am I missing out on?
Hi guys, I am rather new to jQuery Mobile, and the whole programming/developing world. I am currently a student of Interactive Digital Media and I am curious to know, what am I missing out on by using Dreamweaver CS6 which runs jQuery Mobile 1.0? I understand that 1.4.4 has just been released. How important is it that I put my focus into learning the newer versions rather then the older one that I have been using? I really want to extend my knowledge in this area as well, so if you guys have
How to split long text in jquery
Hi, I have a Jquery varibale which stores long text, because of the string length i am not able to set the value to textarea. can any one tell how we can split and set value to textarea. Like lets say split 500 characters and finally add 500 characters + 500 characters.... till end of text.. Jquery Script: <script type="text/javascript"> $(window).load(function () { jQuery("#DIDExcDivision").on('change', function () { var res = '[fname], I work in the [divname] Single
Start Skill Bar Animation at specific point
Hey, I am working on a one page portfolio and I have integraded a skill bar on my about section. Now the problem is, that the skill bar starts to animate as soon as the website is loaded, but I want it to start when the viewer reached the about part. What function do I have to add to the jquery file? Hope somebody can help out. Thanks in advanced. Jenny
delay function
How can I set Timeout on row where is $("#back") ... $(document).ready(function(){ $("#item").hover(function(){ $("#back").css({ "background-image":"url('images/asd.jpg')","transition":"background-image 500ms ease-in-out" }); }); $("#item2").hover(function(){ $("#back").css({ "background-image":"url('images/eee.jpg')","transition":"background-image 500ms ease-in-out" }); }); $("#item3").hover(function(){ $("#back").css({ "background-image":"url('images/rrr.jpg')","transition":"background-image
Multiselect onclick it select/highlights many items instead of just the selected one
Please see below code and help me where i need to change <select onclick="selectMultiple(this);" size="11" multiple="multiple" name="<?php echo esc_attr( isset( $field['name'] ) ? $field['name'] : $key ); ?> []" id="<?php echo esc_attr( $key ); ?>"> <?php foreach ( $field['options'] as $key => $value ) : ?> <?php if( has_term( $key, $taxonomy , $_GET['auto_id'] ) ) { $is_selected = 'Selected="true"'; } else { $is_selected = null; } ?> <option value="<?php echo esc_attr( $key ); ?>" <?php echo $is_selected;
Page loading slow in IE
Hi all, I have a page showing 100 rows of data and I have a button "Information" in each row showing more details about that record of that row. It works fine in chrome /safari. But in firefox and IE11 it is very slow to render the page. My code looks like the below <link rel="stylesheet" href="demo/jquery.mobile-1.4.2.css"> <script type="text/javascript" src="demo/jquery-1.10.2.min.js"></script> <script type="text/javascript" src="demo/jquery.mobile-1.4.2.min.js"></script> <script type="text/javascript"
reading json data from a file
I am trying to read a JSON file from a file named sites.js which seems pretty straight forward but I can't get past an error event firing. Initially I did not tell the ajax() call the datatype, and that caused the data to get written to the console as an unrecognized expression. sites.js as exported from mySQL: [ { 'Database' : 'datasite', 'Table' : 'sites', 'IP' : '192.168.0.101', 'Server' : 'ria' }, { 'Database' : 'datasite', 'Table' : 'columns', 'IP' : '192.168.0.101', 'Server' : 'ria' } ] code
JQuery Mobile to Access Azure Table Storage. Is it possible?
Is there any way to use JQuery to read data from Azure table storage?
Themeroller Body and Text Input share same format
Hello, I use the Themeroller 1.4.3 to create a css layout for my survey and realized that I cannot get the background color of the Body section and Text Input section to separate. Is there anyway to have them be different background color and font size? Ideally, I'm hoping to have body stay same color #fffad5 while Text input box can switch to white/ #ffffff here is the customized theme http://themeroller.jquerymobile.com/?ver=1.4.3&style_id=20140925-54 Appreciated the help. [admin moved to jQuery
Question about mime type processing
Hello, Im trying to make a xcross-domain call to a google drive spreadsheet. The code is below. But Im receiving this error. esource interpreted as Script but transferred with MIME type text/html: "https://docs.google.com/spreadsheets/d/blahblahblah/edit?callback=appendData&_=1411589335949". Refused to execute script from 'https://docs.google.com/spreadsheets/d/blahblahblah/edit?callback=appendData&_=1411589004278' because its MIME type ('text/html') is not executable, and strict MIME type checking
background image animation
hi all, how can I animate background-image? I mean slow loading image ... something like this ... $(this).animate({ "background-image","url('image.png')" }, 500); but this doesnt work for me ... I also tried this ... but it just show after 1s ... with no animation setTimeout(function(){ $("#tblmenu").css("background-image","url('image.png')"); },1000)
resizable with position: fixed
I'm trying to use resizable on a fixed-position element. When resizing, the element jumps across the screen. Here are the specific details: The element is resizable horizontally, and the position is specified by setting the 'right' css attribute. When the element is resized, the 'left' css attribute gets set to 0 and the element jumps across the screen. This occurs in both IE 11 and Chrome 37, but DOES NOT occur in Firefox 32. A similar problem occurs when the element is resizable vertically, and
jquery Gurus please tell me what is wrong with this code:
When I click submit nothing happens. What I expect to happen is that when I click submit the text in the text box should me copied into the div. <!DOCUMENT html> <html> <head> <title>jQuery Functionality</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <style type="text/css"> #display{ width: 250px; height: 250px; border: 1px dashed grey; } </style> </head> <body> <script type="text/javascript">
AJAX response string comparison
Hi, i am so frustrated from 3 days. i am using html, php and ajax for read file, a line each 2 seconds and compare it with string. The String compare doesn't work and i don't know why... this is my php code CODE Script.php: ---------------------------------------------------------------------------------------- <?php if (!$p_file = fopen("inputfile.txt","r")) { echo "Spiacente, non posso aprire il file miofile.txt"; } else { $linea = fgets($p_file, 255); echo "$linea<BR>"; fclose($p_file); } $content
jQuery mobile: Dealing with large list
Hello, I am new to jQuery Mobile and have some basic questions which I am sure the experts here could resolve. Problem 1: ------------- Which is the best known way in context to performance in which we can load a list of items. Say, I have a list of 2000 items, what should be my approach to show the list to the user. I have heard something on lazy loading but could not yet find a working solution for it. Problem 2: -------------- The base of the problem is same as Problem 1. The only difference is
Paging or Slider?
Hi All, Is there anything available for paging or slider as a widget? I have a requirement where the table rows need to be either expanded using paging or slider. Thanks, Pushkar
Scrollable Instagram feed using two plugins together
I am using plugins from http://instafeedjs.com/ to source and from http://manos.malihu.gr/jquery-thumbnail-scroller/ to display pictures from Instagram in a Magento based website. I have got to the point of displaying the pictures but only 4 pictures display at a time and so the scroll functionality is gone. Please see my code view-source:http://casehive.in/ Any suggestions on using an alternative welcome! Many thanks for reading.
Date picker with datediff
Okay so thsi is driving me nuts, ive searched through the forums, but every example ive seen doesnt work I have cobbled bits of code together to get this far, but cant get the number of days between dates to display. the datepickers are correctly initialised, but nothing happens on the showdays fucntion side of things, doesnt seem to get fired. My first foray into jquery, going a little nuts...surely im not far off? Any help appreciated <!doctype html> <html lang="en"> <head> <meta charset="utf-8">
Need Help (Beginner)
Hello my name is Burhan Afridi and i am new to web programming I learn HTML5 and CCS3 and now i start learning JQuery i write the first program and its working when i use internal jquery script but when i use as external its not working please help me the page code is below Index.html <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> <script src="jquery-1.11.1-uncompress.js" type="text/javascript"></script> <script src="myscript.js"></script> </head> <body> <p>
How to use JQuery within a Chrome App
As a simple test I am trying to run the default JQuery UI "index.html" inside of a Chrome App. I can't seem to get it to work properly. I put the following files (copied from Create Your First Chrome App ) into the same directory as the default "index.html". I am also including two screen shots showing opening the index.html on it's own and within the Chrome App. What am I am missing? Is it even possible to use JQuery within a Chrome App? manifest.json { "name": "JQuery Test", "description":
Help with compare values statement
Is there a better way I can write this statement? I want to check if the ID is any of these. var cat = $("select#category").val(); if (cat == 23 || cat == 24 || cat == 25 || cat == 41 ) {$("select#lamp").html("<option>Some Category</option>");} else { $("select#lamp").html(data);}
Code not working on IE
Hello my little friends ;) I wrote a code in Jquery using "position(), show(), hide(), and some others functions". the code works fine when i open the page in Chrome, Firefox and Opera, but when i open on the devil, i mean, Internet Explorer, the code just don't works, and i don't know what is wrong :( Help me? (Jsfiddle link : http://jsfiddle.net/9xdou87b/ ps: Layout in jsfiddle is kind of broken, but i can understand if you try haha)
My New Project - ToDo List
Hey guys , Taught i'd just share this with u'll , i have been following a few tuts and after searching online alot . i found something i'd be really interesting in working on and thats a TO-Do list , built in Javascript . I konw this is not really gonna tickle ur interest much :D , but i still taught i'd post what i did so far . do review it and give me ur suggestions , and How i could Build on it and make it something tangible . GitHub Lin:::GitHub link Thanks . Gautam.
jQuery.com compromised, according to report
jQuery.com was compromised around Sept 18, with traffic redirected to a site delivering malware, according to this report: http://www.net-security.org/malware_news.php?id=2869 jQuery.com, the official website of the popular cross-platform JavaScript library of the same name, had been compromised and had been redirecting visitors to a website hosting the RIG exploit kit and, ultimately, delivering information-stealing malware. The report states that jQuery Foundation has acknowledge the exploit, and
Scroll Bar
I'm wondering about how to calculate the height of the scroll bar that I'm creating, following examples: JSFiddle <script> $( document ).ready(function() { $( "#rolagem2" ).height($(document).height() - $(window).height()); $( window ).on('scroll touchmove mousewheel', function(e){ $( "#rolagem2" ).css('margin-top', $(window).scrollTop()); }); }); </script> #rolagem2 stay with the same size as the standard scroll bar!
How ? select that show exact element
Hi, I am trying to display data in a HTML table, a column in the row is called "country", it shows a select menu that shows exactly the country related to the person : Data come dynamically from a database : Name -------- Age --------- Country Joe -------- 34 --------- select menu shows France Steve -------- 56 --------- select menu shows USA Ali --------27 --------- select menu shows Canada So if Joe changed his country and moved to USA, I can just select USA from the select
Not returning nan for two vars
I've stopped my boxes displaying nan for the top two boxes when letters are entered into them. I when enter in letters into the third box and then a number into box 1. or 2. I get nan. Its probably really easy but I can't work it out? 1.<input type="text" id="first"/> 2.<input type="text" id="second" /> 3.<input type="text" id="third" value="10"/> $(document).ready(function(){ var num = 5; $('#first').keyup(function(){ var firstValue = parseFloat($('#first').val()); var thirdValue = parseFloat($('#third').val());
JQuery Tab Control Starting Issue in MVC Project
Hi, I am pretty new to JQuery and MVC. I just want to use a tab control in my MVC project using JQuery. I tried to use that example in the official site of JQuery. Just copied and pasted the content into my Index.cshtml page. But the tab control is not working. Any suggestions are welcome. Thanks, Sudeep
cache:false ajax jquery...?
Hi Frnds, In my project i make Ajax call to get result form my service, i put cache: false in my ajax call the result is not cachen in browser, My question is, 1) First the result is cache in browser(Client) or Server. 2) The proxy server there in between server and client system in that case what happen is the result is cached in proxy server or not, when the same request came from the client it take the result from the proxy server Instead of server.? 3) Is the proxy server cache the result....?
How to display photos in timeline using jquery and css ?
Hi all, I have to display photos as date wise in html page. Like below -------------------------------------------------------------------------------------------------- | | | 2014 | | | August photos ----------| | | --------- July photos | |
Problem with iPhone 6 and Fullscreen mode
I try jquery mobile 1.43 and 1.44 together with iOS 8 and iPhone 6. My Application works without problems in normal Safari browser mode. But if i set an home screen icon and then start the Web Application i got a problem in the fullscreen mode with svg icons. It fills icons on the whole page in background and and also in buttons on the header. Here a screenshot:
error "Object required" on official jquery 1.11.1.js file
I have copied jquery file from: http://jquery.com/download/ http://code.jquery.com/jquery-1.11.1.js I am not able to use, because i am getting the error "Object required" on line 4202. If you check your line number maybe different, because i had to concatenate approx 15 lines because of the error "Unterminated string constant". If you check http://code.jquery.com/jquery-1.11.1.js for code // Make sure textarea (and checkbox) defaultValue is properly cloned // Support: IE6-IE11+ div.innerHTML = "x";
Using node js & jQuery to get DOM object
Hi guys, I'm trying to monitor the contests offered by Draftkings to keep people up to date on their latest offerings on my fantasy football site. To do that, I need to capture data from the DraftKings.com/contest-lobby site. Specifically, in the DOM, their is (what I believe to be) a javascript variable or object named "packagedContests". I believe it is an array of hashes. In other words, you have the primary variable name packagedContests, then you have a child object numbered 0-2000, and each
Jquery click function after change class not working
I think my question is really simple but I don't know why my jquery is not working. By pressing the button navIcon my navigation is animated 70px from top. Also the second classname of the button navIcon (navIconInactive) is changed to navIconactive. That works fine. But now I want to undo it as you can see in my code. I have no idea what is wrong with my code. Thanks for your help! Here is my code at jsfiddle: Code
Why does this jQuery varibale read as undefined within a each loop?
This should be really simple and i do feel daft for asking this BUT for some reason the following code alerts as undefined. Why? myCount = 1; jQuery("div").each(function() { alert(myCount); });
Sending values to a URL
In my prevous posts I was working on a chained select boxes with three options. I have that working. I have a small form that gives option for category, watts and lamp. I know the purpose of Ajax is so you don't have to refresh the URL. Is it possible now I have the variables, I can pass them to another URL? $('#select_form').submit(function(){ location.href = '<?php echo get_bloginfo('url')?>/search-results'; });
How to add javascript for plugin on the page
Hi, I am using a plugin called slidedeck on my wordpress page. The slidedeck is just a slider which moves slides horizontally as well as vertically on click event. I am using the same slider on multiple pages and want the slider to navigate to different slides on different pages. I have got the code that works to go to any slide using a button. However, I want it to be on page load instead of button. Working code: <a onclick="jQuery('.slidedeck').slidedeck().prev(); return false;" href="#">Click
change attr value if value =
I want to change all fill values into svg when clicking a button, but only if a color == #18B0FE , if color != #18B0FE I do nothing I am trying $(".map-close").click(function() { $('path').attr('fill').each(function() { if($(this).is('#18B0FE')){ $('path').attr('fill', '#01283F'); } }); }); but it doesn't work thanks for your help
Hiding and showing paragraphs for each image
Hi - I'm trying to have a samll caption for a series of pictures in a gallery where the caption is initially hidden for all pictures. When a user clicks on a picture the caption shows and if they click on the picture again it closes. Also if a user clicks on any other picture the caption for a previous picture would close and the caption for the new picture would show. Have tried this and it isn't working: Any help really appreciated! <!doctype html> <html> <head> <meta charset="utf-8"> <title>Trial</title>
jquery popup window when changing a value in dropdown list box
i need a code for, when i select a value addcurrency in dropdown list box, then one poup window should come to add currency.here i tried my jquery script but not working. <script src="scripts/jquery.min.js"></script> <script src="scripts/jquery.dialog.min.js"></script> <script> function currency_fun(ch) { if(ch=='add_cur') { //window.location.replace("addcurrency.php"); $(function(){ $("#t").onclick(function(){ $.dialog({ mask:false, height:'auto', title:'Add Bank Account', html:"<form id='fm'
Next Page