I'm trying display an image using fancybox, but not working. My code: <div id="example2" style="display:none;"> <a id="single_image" href="#"><img src="style/images/promocional-01.jpg" alt=&
I have a parent string of which I want to replace certain entities: FIDDLE example here var parent_string = "Steven Paul Steve Jobs (February 24, 1955 – October 5, 2011) was an American information technology entrepreneur and inventor who worked with
I have this html code. div class="container screen-only"> <ul class="nav nav-tabs customNavBars"> <li class=" marginForFirstElement active" id="listEle1" onclick="changeActiveClass(this)"> &
Let's say I have this HTML... <button class="btn-remove-this">Remove this</button> <button class="btn-remove-that">Remove that</button> <button class="btn-remove-some-other-thing">Remove some oth
i can't have a datepicker work inside tab loaded via ajax. here the script on my main page: <head> <meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1" /> <title>Studio90DMS - Ricerca Generale</t
$.each(constructions, function(i,v) { if ($.inArray(v.name, map[ii].buildings) == -1) {//stuff} }; Where constructions is an array of objects, each with a unique name. map[ii].buildings is an array containing some of these objects. I want to iterate
I created jquery code for scroll website .it's worked but everytime it give default value of swich case. This is my html code <li> <a href="#" id="about">About</a> </li> <li> <a href="#" id=&q
This question already has an answer here: chaining classes for .hasClass(); 3 answers JQuery .hasClass for multiple values in an if statement 10 answers I am now practicing my JS skills and Jquery. var clickcheckboxcount=0; var clickedcheckboxname =
we have tried capturing the event using following code in our JQuery.. but swipe is not working. if (window.navigator.msPointerEnabled) { this.element.addEventListener("MSPointerDown", eventHandlerName, false); this.element.addEventListener(&quo
I have this code but it seems that it has an error. the error says that Uncaught typeError object# has no method 'HasScrollBar ' is there something wrong with the code? the HasScrollbar method is declared on top of the function but it seems that it c
I'm trying to make a website and I'm having a problem with a bootstrap class. The class dropdown is working fine when the page is fully opened, but when it goes to the collapse mode, the list of the dropdown menu is still open. What should I do to ke
I wanted to validate a HTML text box using Jquery...in that text box i wanted to accept only numbers, if the length is 6-it must contain only numiricals and if legth is 7 it must conain alphabet X at the beginning. <input type="text" class=&q
How can I hide rows (using display:none) in a table using DataTables, following a search instead of removing the node? The reason: in each row, I have a checkbox that I want to be able to send the value even when the rows are hidden (following a sear
I want to hide all the Divs except Last 2. Number of Divs can increase in my case. I have searched some topics, so now i became able to hide all except last 1 div. Here is my Code so far: http://jsfiddle.net/D83ZC/11/ HTML: <div class="container&q
I have the following code and I need to have the id of the post in jquery! please help me in this. foreach($posts->result() as $post){ echo "<div class='post' id='$post->id' >"; echo $post->content; echo "<div class='comme
I have a form which has two hidden parameters that I want to pass to the function LoadView <form name="frm1" action="http://localhost/tddd27/index.php/AddProduct/LoadView"> <input type="text" name="ID" valu
i try to flip a modal dialog of jquery with flippy plugin Here my code for create the dialog : $(document).ready(function(){ [...] $('<div class="modal-popup"><div>TEST</div></div>') .hide() // Hide the dialog for now so
I am trying to make a pop up like thing, where a div shows up when I click a link. After some time, it fades away. I am able to show the div elements on click with some animation from animation.css. But I am unable to make it fade away. Here is the c
I had created a dynamic div and paragraph in dialog box to show confirmation while submitting the form. How to append the dynamic paragraph inside the dynamic div, Please help me on this. Thanks in Advance. <!DOCTYPE html> <html lang="en&quo
I have a problem with jquery effects on few blocks. Mouseenter and mouseleave work only on the first div block while on all others it doesn't. Here is the JS: $(document).ready(function() { $('#mainbox').mouseenter( function () { $('#infobox').fadeIn
I'm trying to pass an array of objects into an MVC controller method using jQuery's ajax() function. When I get into the PassThing() C# controller method, the argument "things" is null. I've tried this using a type of List for the argument, but
I'm new to JQuery and am having trouble getting the content of a div block. <div class="update_status"> Updated successfully </div> And when the following script runs: $(document).ready(function () { $(function () { var $status_div =
I'm trying to use a jQuery chained select. This is a sample of the HTML that is needed (not the code I'm using - but, will give you an idea how the jquery requires the HTML to look): <select id="mark"> <option value="">--&l
please refer to http://jsfiddle.net/UEePE/1029/ How can I put the x-axis to the top of the chart instead at the bottom of the chart?Like this: http://jsfiddle.net/jsGLP/
I have an img of 200px by 200px. I have a container for the img. The container size is 100%x100%. Basically the size of the container is depends on the window size. What I would like to achieve is if the screen size is gets smaller than 200px it shou
I have a vertical only resizable div in my page. I'd like to put a handle "grip" like what there is in this page at the bottom of the textarea in the section "Your Answer". How can I do it?How about jQuery UI's resizable interaction? $
There is a page that uses PHP to fetch search results from Google Search API and then it puts the results on the page some funny way in a circle. The code may look crappy but seems that it works more or less fine in Firefox. When you enter a search q
I have a problem with this fonction: function test(value){ var id = "'" + value + "'"; $(id).remove(); } It gets an "Id", add simple quotes and then call the remove function. The "value" is a generated id by php. Fo
i'm having this markup: <div plug=tButton></div> and wrote a little plugin which makes a button ouf of the div like this: var cmd = $("[plug]"); cmd.tButton(); my question: when only having the div (and its plug-attribute), how can i
Is there a way to disable browser tooltip from displaying when hovering over elements that have attribute 'title' populated? Note that I don't want to remove title content. Here is the code are requested: $(document).ready(function() { $('a.clickable