How do I get the parent element of a element
Hello, I have a button buried in table td's Each table row has a different class id. How would I get the class of the parent row?
WHERE DO I DOWNLOAD THE OFFICIAL .TMPL AND .DATALINK PLUGINS.
I am new to web coding and have searched the web for the official plugin locations without success. I would like to know where to go both to download the code and if there is a standard url that I can use instead of downloading? ann.maybury@gmail.com
check out the textBox value on bulr
Hi all, I have a simple problem, I used a text box which it's value property is "Enter your name",and on click event the text value hides and on blur event i set the value property to "Enter your name" again. that works,but when I write some thing then clear it or when I write whitespace ,on bulr the IF condition doesn't verify. can you tell me how to improve the the IF condition to be able to check out the whitespace or "" (none value). here what I do. Thank for help.
Using Jquery UI in Google Chrome Extension
hello, I want to use Jquery UI in a Google Chrome Extension. I can't find how to do that. Can somebody help me?
Replacement of deprecated buttonmarkup?
What is the solution to enhance links and buttons? buttonmarkup is deprecated but i don't find any other method for them?
Jquery problem
Yellow marker in head: I'm using that to chain two or more select inputs, and it won't work if bellow are jquery scripts for imageareaselect (green marker). That one in footer (silver), I'm using for datepicker and because of that imagearea select won't work. Any solution?
Fetch certain checkbox values and put them in an array.
I use the following code to store all checked checkbox values into a variable: $("#myBtn").click(function () { var searchIDs = $('input:checked').map(function(){ return $(this).val(); }); $(".gathering").val(searchIDs.get()); }); It works, but this code gathers ALL the values of checked checkboxes. How can I adjust the coding so that only the checkboxes with a certain class in it are 'gathered' ? For example: I only want to store the values with the class 'myCheckBox'
Jquery mobile site lost responsiveness while accessing via domain name, still responsive if accessed with IP
I am using jquery mobile 1.3.1 to build a website.. It was working fine in the local host as well as the live site.. then I bought a domainname for that and point it to current ip. after that while accessing the site via new domain name it is not responsive in mobile devices.. still if we typed in the ip address in mobile it is responsive there.. mydomainname.com => non-responsive site in mobile myIpaddress => responsive site :-o Do anyone faced this problem...? Please help me...
jQuery mobile 1.4 - Size of custom Icon - breakpoints
Hello, I managed to insert my own svg-icon with the integrated fallback to the png. What are the right breakpoints for mobile devices or is there a workflow, that jquery mobile manages the automatic resize on it´s own? I did it like this: CSS @media only screen and (min-width: 1px) and (max-width: 480px) { .ui-icon-bars02:after { background-image: url("images/icons-svg/bars02.svg"); /* Make your icon fit */ background-size: 22px 22px; } /* Fallback */ .ui-nosvg .ui-icon-bars02:after { background-image:
CORS Issue with JQueryMobile site Download builder for 1.4.1
If I navigate here: http://jquerymobile.com/download-builder/ any time version 1.4.1 is selected in the drop down it gets a CORS issue. http://screencast.com/t/ygDXsWRa XMLHttpRequest cannot load http://amd-builder.jquerymobile.com/v1/dependencies/jquery/jquery-mobile/1.4.1/?baseUrl=js. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://jquerymobile.com' is therefore not allowed access.
Eclipse Juno complaining about jQuery-1.8.3.min
Any way to clean this up I have project cleaned, Syntax error on token "Invalid Regular Expression Options", no accurate correction available Multiple markers at this line - Type mismatch: cannot convert from any[] to any - Missing semicolon Syntax error, insert "}" to complete ObjectLiteral - Type mismatch: cannot convert from any[] to any -- Type mismatch: cannot convert from any[] to any - - Missing semicolon - Missing semicolon - Missing semicolon - Missing semicolon - Type mismatch:
Vertical Accordion Menu
I'm trying to create a menu for my application, but there's something wrong. Take a look: http://jsfiddle.net/tp3mB/ If anyone can help. Tnks
How to use jquery to identify active image
Hi, I am building a Joomla website which has a background slideshow that has to fill whatever screen it's viewed on and stay fixed whilst the content scrolls up over it. The slideshow therefore gets a position:fixed attribute. I have a problem that mobile devices don't fully support position:fixed and therefore the content does not scroll over the slideshow but continues beyond the bottom edge of the background image which is determined by the size of the screen, and that looks bad. With the help
How do I return a value as a number
Hello, Im trying to return values into a variable. var $num = $("#myid).val(); How do I return the value into the variable as a number. I want to add "1" to it. Thanx again ...
Scroll to Element Jquery not working on Chrome or Safari
I'm having a problem trying to implement a simple jquery feature in my project. The problem is that it's not working on chrome or in safari yet it works in firefox which is very weird. I have tried different approach trying to solve my problem but no luck. Basically i'm using a simple plugin call scrollTo(http://individual11.github.io/Scroll-To/). I even tried creating my own scrollTo feature but the problem is that it doesn't work on chrome or in safari also which is weird. Here is the website I'm
Superfish expansion issue on resize
Working on responsive websites using Superfish (because the mobile version is pretty awesome). The issue we seem to have is after navigating to any page on the mobile navigation, when we expand the page to a proper size (drag it to a 1020 or whatever) the menus stay expanded. (We are using the mobile nav button from http://codepen.io/ecardoza/pen/btjCK) To show what we mean, pull chrome or firefox to around 320px wide, and open the following url : http://wvuhwellness.bluefinsol.us/Services/default.aspx
sortable (connect lists with tabs) + hide + accordion
Hi, I'm trying to combine Hide with Accordion inside Sortable (connect lists with tabs) but instead of using lists i need to use div's. I already combine the Hide and Accordion part and it works fine, but how can i use it in Sortable? The sortable part is this: sortable Can anyone help me and provide an example? Thk
Themeroller reverse background
Hi, I want to download a theme with the page background reversed. I went to the theme roller page, picked the them I want (overcast), then checked the 'reverse background' box and downloaded the theme. When I opened the sample page, it did not show the page with the dark background. What the heck am I doing wrong? Thanks!
Superfish autowidth zoom
Hi all, We're using Superfish for our menus, as a Drupal maodule with the js library and such, and are using the sf-AutoWidth.js plugin for superfish. It actually works great, for example on our homepage: http://www.ashland.edu However, we've noticed with various browsers at certain zoom levels, there is a slight overflow and our last menu item goes down a level. For example, Chrome at 90% or Firefox zoomed out twice. (80%?) Most other zoom levels are fine on most browsers. Anybody else have this
Need Help in Menu control
Hi All, Need your suggestions whether the below menu can be implemented or not, Cause our designers who design the html for us are telling that this can't be done. So Guys need your inputs if yes then it will be more helpfull if u can give any give us any link whether the same is implemented in some website so i can tell our designers. Waiting your suggestions
Dynamic multiple selectmenu rendering not working solid
Hello, i have a multiple select menu which is filled dynamically. But after a refresh sometimes the rendered result ist ok (in about 10 % of calls), but most the rendered result is bad, because the menue seems to be transparent (without background) in 90%. I can't find out the reason for this non-systematic failure. The failure is available in jquery.mobile-1.4.0 and jquery.mobile-1.4.1 the same way. (jQuery-Version: 2.0.3) HTHML-Code: <div class="ui-field-contain"> <label for="mySelect" class="select">MySelect:</label>
Popup or native=false problem
Hello, I a wondering if anyone know or have any idea where problem should be. I am working with. JQuery 2.0 version and JQuery mobile 1.3.2 version. <div data-role="fieldcontain" class="groups"> <label for="select-groups" class="select">Groups:</label> <select name="select-groups" id="select-groups" data-native-menu="true"> <option value="1">1</option> <option value="2">2</option>
Web-App installation from safari?
Hi guys. I've been working hard on a web site that I wanted to load via UIWebView on iDevices. I want to know if someone can have the same experience via using it as a web-app before actually downloading it... I know there is iWebKit but its not for commercial use. I want to know if there is another way for the user to be able to download the 'web-app' as a native app via Safari like few websites that are out there... This won't be a permanent solution, I would like for my friends to be able to try
I want jQuery1.10.1 api documet URL, my org is using that version
Please provide me URL, I have assigned task to generate popup window in jQuery1.10.1. Thanka Narayana
jquery code integrated in backbone code
I have a js file which has backbone related code, and in it I want to place jquery code. And to be more specific,,,in the app(booking) I am building the user will have to make a choice of a staff member from a dropdown menu. And this is the backbone related code that will send the staff name along with other details to the server. save: function() { if ($.trim((this.$('#name').val()))==='') {alert('No name is inserted')} else {
Plug in advice
This is my first post and I hope this is the right place for it. I'm after a plugin that behaves the same as used in the following site http://sdrme.cal24.pl/ante/ under the portfolio section. Selecting the Filter projects moves the images around based on it's category. Any advice would be welcome?
Total nubby with jquery I am having a problem with val() sending data to a form
I am having a problem with this script .It adds the data to the html contact field below according to what is selected from the customer field. But when I save the data it saves what is in the contact field in the customer field also. How can I stop this from happening function updateValue() { $('#contact').val($('#customer').val()); } //update once the page has loaded too $(document).ready(function () { updateValue(); }); <select name="customer"id="customer" class="responsetext1" onchange="updateValue();"
How i can get attr('name') from each elements.
Hi, I have code: <div class="div_class" name="1"></div> <div class="div_class" name="2"></div> <div class="div_class" name="3"></div> <div class="div_class" name="4"></div> <a href="#" id="get_names">Get names from divs and put into div</a> I need code in jQuery what get name from one by one div and put into div. When i use: $('#get_names').on('click',function(){ $('.div_class').html($('.div_class').attr('name')); }) I get: <div class="div_class" name="1">1</div> <div class="div_class" name="2">1</div>
Button click not firing when button added to div
Hello, Im adding sections to div's that contain a button. The button inside the div does not fire after being added. $(".addCont").on("click", (function () { var $dtl = $("#dtltmpl").html(); $("#dtltbl").append($($dtl)); })); <button type="button" class="btn btn-blue btn-xs addCont">Add Container</button>
jQuery mobile css files
Hi, I'm new to jQuery mobile and a little bit confused by all the css files provided : jquery.mobile-1.4.1.min.css jquery.mobile.external-png-1.4.1.min.css jquery.mobile.icons-1.4.1.min.css jquery.mobile.inline-png-1.4.1.min.css jquery.mobile.inline-svg-1.4.1.min.css jquery.mobile.structure-1.4.1.min.css jquery.mobile.theme-1.4.1.min.css when to use them ? and in what order they should be used ? Thanks
refreshing html table with jquery
Hello everyone! I am working on a project where I need to have a html table to be first loaded with info from mysql database with items then refresh, each item has a status checkbox next to it where I can check or uncheck. This is intended for multiuser platform so diferent users connected to the same web page could have access to the data. What I want is to updates this table constantly on all sessions so that the changes one makes the other users could notice instantly. I am putting my code next
Testing the datepicker input value?
In a form field has the input: <input type = "text" class = "<PHP print $estilo_caixa;?>" id = "datepicker" name = "dt_fundacao" size = "12" maxlength = "10" placeholder = "Data Foundation"> After the test input as if the field was completed in Javascript and also treat on a select in PHP? How to put a mask on input (__ / __ / ____) the datepicker?
Recreate jQuery
Hello, I was wondering about the very first bit of jQuery code ever written. I figure it was possibly written inside a script tag as a start. So I found an article: http://blog.johnsedlak.com/2013/04/breaking-down-how-jquery-is-built/ And that also comes with a Fiddle: http://jsfiddle.net/jsedlak/s5bC4/ But the problem is with the above Fiddle if you remove the jQuery link then $ becomes undefined. So the question is how do you modify the Fiddle so that $ becomes ( you can't add the link back )
text font size scale
Hi, I m using the following header in my HTML: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, maximum-scale=2.0, user-scalable=yes"; > However, in my App (on iphone or ipad) i cannot enlarge or zoom the text (you know with the 2 fingers), the dimmension of the page is always fixed. am i miss something? thanks
Listview with image,link and checkbox
Hello all, I've to create a listview with three items strictly in the following order from left to right:- [Image] [Link] [Checkbox] I've used Split button list and Grid but both doesn't meet the requirements. I've alrady gone through following links but nothing fulfill the requirements:- http://jsfiddle.net/XAsyy/110/ (styling checkbox with seprator) http://jsfiddle.net/Gajotres/KdNpy/ (Split list with checkbox) Can anybody please provide some code or guidance to achieve this requirements. Thanks
Draggable Div in an User Control not working
I am following the sample of draggable DIVs and it works fine. But as soon as I put the code in a User Control, it stops working. Can you use draggable in an user control, or not? Thanks in advance Robert J.
Events Ckeckbox at listview jquery mobile
I need a grid with checkboxs, that can remove, select all, and get each value. in jquery mobile. like this grid: http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem= thanks
[jQuery] Comparing Arrays
Is there a function that exists for the purpose of comparing two arrays and returning the values that are different? The arrays I'm comparing are likely to contain all the same values but in a different order. From what I read in the jQuery docs there is no function to compare array orders. I can think of a solution where I make a function to loop through both arrays sequentially and simultaneously, comparing each value pair and spitting out the ones that are different. Does anyone know of a function
toggling content
Hi I'm new to jquery and I don't fully understand it yet. I'm trying to create a page that has multiple content on it, but the content has to only show a certain amount of words and when the content is clicked it expands showing the rest of the content. It's similar to an accordian but instead of the titles being shown its a bit of the content. This is the code I have so far <?php $str.='<div class="testimonial_content"> <img class="floatleft" src="../images/camera.png" /> <h1> Title
Can jQery tell me the text of a table header
I got a fast and helpful response to my first query about retrieving text from a table using jQuery, so I'm hoping I can get advice on this too. I am new to jQuery, but can't see an obvious way of doing what I need. I am showing the user a table in a web page. When the user double clicks on a table element (surrounded by <td> and </td>) I can retrieve the text of that element. What I now want to do is to retrieve the text of the table header (surrounded by <th> and </th>) for the same column.
Next Page