we have a grate jQuery with us.In that we can`t able to find the some piece of code in that total code. "IF ANY EXPERTS PLZ HELP."
This jQuery is related to a blogger template. This jQuery is the mix of some codes in the template. in this we need to find out the credit link of the template. In our collage our sir and experts tried but failed to find out. The HTML code in Template. <div class='clr'/> <div class='secondary-footer'> <p>Copyright @ <a expr:href='data:blog.homepageUrl'><data:blog.title/></a></p> <p>designed by <a href='http://www.markapurapusumanth.blogspot.in' id='fealing'></a><a href='http://markapurapusumanth.blogspot.in'
How do I replace the content of a window.open after it's open
Hello, I have ui tabs in a popup that's been opened by a window.open. The contents of all the tabs are generated from different cgi programs. How would I change the content of the popup after clicking on a new tab. And have another program replace the html of the popup using cgi. Ive tried: self.location, location.replace, location.assign. Each one gives various errors. Any suggestions?
I keep getting a Return value of underfined...
How would I make this function return the actual html value but by keeping a post occur : function clicky() { var thisHTML1; $(document).on('click', '#htTab a', function() { var thisHTML = $(this).html(); thisHTML1 = thisHTML; return false; }); alert("TESTING"); return thisHTML1; }
jquery, radio buttons, .html
I'm working with the following script but have clearly done something wrong. I would expect "Select something." to show up initially in the #message div and then to be replace by something like "add_gallery button checked" as appropriate for the radio button selected. Instead, nothing happens. What is wrong with my script? Thanks, --Kenoli <!doctype html> <html> <head> <title>Test Radio Select</title> </head> <body> <div id="select"> <ul> <li><input type="radio" name="select" value="add_gallery"
Setting cache:false on ajax calls generates an error
I have a problem where setting cache:false generates an error on my server. My server processing does not accept anything in a POST or GET that starts with an underscore and the parameter that is added by jquery for anti-cache begins with an _ I've been working round it by adding datetime to the URL but it's getting increasingly inconvenient as many plugins (e.g. DataTables) automatically set cache:false Is there a convenient way to override this behaviour in jquery?
How to write a text file using jQuery
Hi Everyone, I have a requirement to write a data to a text file using javascript or jquery. Please provide sample code or sample website links. Here I tried using ActiveXObject but it's not supporting in Android OS and also asking user permission(popup) in Windows OS. Is there any alternate way using jQuery that support both Windows & Android OS. Below sample code is not supporting in Android OS: Sample Code: var fso = new ActiveXObject("Scripting.FileSystemObject"); var s =
.position() is off by 0.00001 in Internet Explorer
I have an absolutely positioned div with inline style "top:420px; left:495px;" The top should of course be equal to 420, and it is: $('#Achieve').get()[0].offsetTop 420 $('#Achieve').css('top') "420px" However, grabbing the position yields the following: $('#Achieve').position() [object Object]{left: 495, top: 419.99999618..."} This is causing math I do to fail because I expect a value of exactly 420. This behavior does not reproduce in Chrome.
How can I compare two jQuery versions?
Hi, I develop a plugin which takes the jQuery information on page, and if it doesn't exist or below X version, load the proper version. if ( parseFloat( this.version ) < 1.4) // Do something It works fine, BUT, when I try it with jQuery version 1.10.2, script fails. Because 1.4 > 1.10.2 when you compare floats. I don't know what is a proper way to solve it. Any ideas?
Retrieve innerhtml for href within a div
Im trying to return the inner html from all href's within a div. This is what I have so far, but am battling to get the return I want $(document.body).on("click", "#htTab a", function getInner() { });
my code works only in chrome
I have a simple script that you can access here . If you click the movie waves link you are presented with a list of names when you click on one it plays a wav file(sound from a movie). If you do this in Fire Fox or Opera some links will work most won't if you use Safari none will play. Only Chrome will play them all. Here's the html: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <link rel="stylesheet" type="text/css" href="movie.css" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
How can I used Jquery for my own website full life?
Dear All, I really don't understand and i'm really consider to use Jquery as free version and I try to read Jquery licence but I still don't understand. So please help to telling me if You used jquery on my website and use alot function too But I consider one day Jquery will block my website or not and do i can used it full life or not Please help Thanks you very much for your help
animating 'left' setting for a show-hide thingie...
don't get why this is not working... // default 'left' setting set at -200px in CSS... tried setting in JS for testing, doesn't work... // $('#main_nav').css('left',-200); mainNav_pos = $('#main_nav').css('left'); console.log('mainNav_pos -- ' + mainNav_pos + ' -- initial'); $('a#bars').click(function(e) { e.preventDefault(); console.log(mainNav_pos); if (mainNav_pos < -100) { console.log('hidden'); $('#main_nav').animate( {
Not sure why this function isn't functioning
Hi, I want an effect to occur when a user clicks on a form submit button which is basically to let the user know the form is being processed.As it stands right now, nothing happen when the form button is clicked, as far as this function (the form does submit), you just don't get the click function I want. Please let me know if anything looks like it would be causing the click event to not work. JQUERY /*add effect when form submit button is clicked*/ $(document).ready(function() { $('button[type=submit]').click(function()
Is there a way to fire something when a user closes their browser
Either with a "X" or "exit"?
Stupid json question
I have a json response, but I cant access the CODE field. How can I access it? $.ajax({ url: "AJAX.pgm", async : false, cache: false, dataType: "json", data:{My data}, success: function($result){
How to create images zoomer on hover in jquery version 1.11
Here is example of zooming images when it has mouse over on images http://www.ajax-zoom.com/examples/example20.php Please help Thanks in advance for your time
Memory leak when creating object from html string?
So I'm creating a crawler that starts at a URL, grabs all links from a page, adds them to a list, and goes back to step 1. For medium to large sites, it's using so much memory that it crashes the page (I'm using Chrome). Anyway, my guess is a memory leak and I think I've isolated the problem here: http://jsfiddle.net/5c43ebcu/1/ I would like some advice on how to reduce the memory used over the long term. Is the constant memory usage increase normal?
Making objects in Jquery move at an angle of 55 degrees
Hello guys, I'm new to Jquery. I want my object (mySquare) to move at an angle of 55 degrees, but I can't seem to solve it. Any help would be much appreciated. Thank you. $(document).ready(function() { //Accessing DOM var canvas = $("#myCanvas"); var context = canvas.get(0).getContext("2d"); canvas.attr("width", $(window).get(0).innerWidth); canvas.attr("height", $(window).get(0).innerHeight); context.fillRect(0,0, canvas.width(), canvas.height()); var playAnim = true; var startBut
Better Fiddle? Asset storage, multi-document, proxy URLs
A bit off topic, but I think a good place to ask... I find jsFiddle pretty limiting for demonstrating anything more than a simple, single document. - If the fiddle needs some assets - images, etc. sure you can include a complete URL, but then you are obligating yourself to host those forever or else the fiddle becomes useless to others. - There is no ability to create a multi-document Fiddle. - There is no way to demonstrate most Ajax, because of cross-domain concerns. When I started thinking about
OnClick Event Tracking in Google Analytics
Trying to get onClick event tracking for various buttons working through a 7 step form that has a static URL with Dynamic content inside (need the events to know each steps information). Here is the code I'm currently using (it's not pushing the event to GA): <script> $(function () { $('#save-loader').hide(); $('#Step2NextButton').click(function () { ga('send', 'event', 'BYS', 'Next', 'System Type'); }); }); </script> The code I'm about to try is: <script> $function () { $('#save-load').hide();
Control the speed of an animation
Hi, I saw a lot of time animations which have a fast speed but when it comes to the end they're getting slower. How is this possible? How do I control the speed of an element from slow to fast or fast to slow?
how to get id value with respect to class attribute.
php. <table border="1" cellspacing="5" id="mytable"> <tr id="main_menu" class="main_menu"> <td id="4" class="main_category"> something </td> <td id="6" class="main_category"> something </td> <td id="7" class="main_category"> something </td> <td id="3" class="main_category"> something </td> </tr> </table> jquery. $(".main_category").mouseover(function(){ var menu_id = $(".main_category").attr("id");
Set each parent .element to the size of its child img?
Hello, I have a couple of parent DIVs, each of them containing an img. All images have diverse max-width/max-height values and each parent DIV should take the exact same size as its child img. Afterwards, the child IMGs should be set to 100% max-width/max-height. So far, I have this, which doesn't work: $("article.item").css({ 'height':($(this).children("img").height()+'px'), 'width':($(this).children("img").width()+'px') }); $("article.item").children("img").css({ 'max-height':'100%',
How to select anchor tag text within table with multiple anchors
I have the following table. I need only the text within the anchor in comma delimited format. How can we do this with jquery? <table> <tbody> <tr> <td class = "CourseModels" > <A style = " BORDER-BOTTOM : #0077cc 1px solid ; BORDER-LEFT : #0077cc 1px solid ; PADDING-BOTTOM : 1px ; LINE-HEIGHT : 1.6em ; BACKGROUND-COLOR : #0077cc ; MARGIN : 3px ; PADDING-LEFT : 3px ; PADDING-RIGHT : 3px ; COLOR : #dedede ; FONT-SIZE : 1.2em ; BORDER-TOP : #0077cc 1px solid ; FONT-WEIGHT : bold ; BORDER-RIGHT : #0077cc
Need to make a few adjustments to navmenu for bootstrap theme
Hi, I am using a bootstrap theme for my portfolio website (www.inspired-evolution.com). I added a few sections (resume, social media). For some reason when you scroll to the resume section, in the menu, portfolio is active, and when you are at the top, about me is active instead of home. I am not sure where this is controlled, but I think it is JQuery. Any ideas on troubleshooting?
loop through a table rows with start row index
Hi, Is it possible to loop through a table rows with start row index? Thanks, Jing
help with show/hide text on hover
I am not sure the best or most elegant way to do this. What I am trying now isn't working. Essentially, I have a horizontal row of icons and when a user hovers over the icons I want text to display in a div to the right of the icons with the text being unique per each icon. My solution isn't very elegant (and doesn't work), because for each icon I would need to write a separate function, and also a separate paragraph ID, so I am hoping for suggestions to a better solution. Here is what I have attempted:
Click on Image not working. going crazy
$("#imgname").click(function() { alert("test");}) is absolutely not working....it remains silent. tried on div and works perfect....please someone help. i'm going crazy here :D (tried jquery 2.0 and 1.11)
$post 404 NOT FOUND why?
Hello all I have this problem where just I can't find why is not working the following code makes me mad In the first .external I got 404 NOT found file1.php the second where is exactly the same working and finds file2.php // This not working $('.external').bind('click', function () { var value = $(this).attr('href'); $(this).attr('target', '_blank'); $('#number').val(value); $.post('file1.php', $('#numbers').serialize(), function (data) { $('.rea').html(data); }); });
Does jQuery have a paid support service?
Can I ask it questions that may not particularly be about jQuery. But just regular javascript/html questions?
ANN: jQuery-i18n An internationalization plugin for jQuery and jQuery plugins
jquery-i18n is a simple plugin I have created that helps you internationalize your web application. You can also use it to extend other jQuery plugins to support internationalization. I have already used it for applying internationalization to jQuery UI plugins. I think it has a lot of relevance to plugins like Datepicker. jQuery-i18n copies a lot of the GNU C Library's internationalization API but differs in significant ways I would very much appreciate comments on this plugin. I have to support
save as div to image
hey guys how are you >>> today i want ask you about some thing and please help me i have div and that div content it's from database so i want to convert that div to image when i want to save that div such image ... how can i do that .....
Change an element's background if another is visble
I have multiples of ".container" and They're all shown one at a time. I'm trying to get the backgroundof the parent DIV to change depending on the visible ".container" . but it doesn't work. Any ideas on how this can be achieved? HTML <div id="main"> <div class="prev">Previous</div> <div class="next">Next</div> <div class="container active">One</div> <div class="container">Two</div> <div class="container">Three</div> <div class="container">Four</div> </div> CSS .prev, .next { float: left; color:blue;
Parsing list of lists in jQuery
I have a list of lists (e.g. [[1,2],[3,4]]) passed from a Django view, stored in a hidden input of an html form, and submitted with jQuery. I need to parse that variable to pull indices. I have other lists passed between Django and html without a problem, but this list is posted by jQuery. HTML: <input type="hidden" name="resultMsgList" id="resultMsgList" value="[['View "S03_2005_TAZ_140813_160946_with_geom" was successfully created!', 'taz_mapfile_scen_tdm_140813_160946',
How can detect left and right click in chrome/FF/IE
Hello, How would I safely detect a left/right click in Chrome/FF/IE? Using jquery, that is ... Thanx
Building menus and contextual event binding/unbinding
I'm not sure I titled this correctly; I'm trying to build a custom menu. I know there are plenty of contrib menus that work, but without heavy modification, they won't in my application. In the example I'm giving, I've really simplified things to avoid confusion and to hopefully make the answer simpler. Given the following html. I would like like to write a script that makes the second DIV visible when hovering over the first DIV... OK, So far, that is easy. If I simply use .hover(), I can easily
JQUERY MULTIPLE VERSION CONFLICT
I am using the following versions of Jquery and would like to know if I can deal with the version conflict that I have. All replies will be gratefully appreciated. <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dot-luv/jquery-ui.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"> </script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js">
Hiding items vs. SEO
does anyone know how is hiding items in jquery to seo? I know that in html not be used to hide text or blocks because you can get a penalty for it but if anyone knows what it's like in the case of jquery? react to do it is the same?
Getting jQuery to work on a private network
Hi All, I am working on upgrading the GUI for a system that users access via their browser. I found that using jQuery was an excellent upgrade to the GUI and it works seamlessly for users on computers that can access the world wide web. However, some of the computers that use this browser-based interface are restricted to a private intranet, and do not have access to the web. On these computers, the jQuery scripts do not work because they can't access the jQuery library--the tag I'm using:
Trying to create a navigator.onLine if/else function. HEELP!
This is for a mobile app, I have a button that opens a web page inside of an inApp Browser... but I want to check if there is an internet connection first. Can you fix my code below so that it works? Thanks! <script> function checkInternetFirst() { if (navigator.onLine) { openURL(' http://www.awesomewebsite.com ', '_blank', 'location=no') } else { alert( "Not going to work without internet." ); } </script>
Next Page