please explain this statement
$("img", this).stop().animate({ top: 100 }, 90);
Filling checkboxes dpending on query
hey everyone, I have a list of checkboxes which have values for example: <input name="[0].PostedTerms.TermIds" type="checkbox" value="18"> <input name="[0].PostedTerms.TermIds" type="checkbox" value="20"> etc... I have a query like this for example: _RequestVerificationToken=LCTsGL3Iv6HHIpxGIX93Xmw3aiUNL4BmUt8gpwl0BtHJbSZT1-gfwSR15GZYLXTCJeGYwyB9K3UOpDBmieqMYh_sS0T_vsxU8tVVU6nmAh41&[0].TaxonomyName=Dranken&[0].PostedTerms.TermIds=18&[0].PostedTerms.TermIds=20&[1].TaxonomyName=Land&[2].TaxonomyName=Prijs
how to start
hello everyone glad to meet you all on this forum,introduce my name is marsha from indonesia contry in Aceh province.this time i wont study jquery in this forum and my basic is html,css. i want to include jquery who i can start it.thanks
Need a div table sorter by multiple parameters !!
Hi guys, my name is Milan Vugrinchev and I really need your help !! My problem is that: I have a table made from div tags with rows and everything like that: <div class="table"> <div class="body"> <div class="row header"> <div name="item1" class="headitem">item1</div> <div name="item2" class="headitem">item2</div> <div name="item3" class="headitem">item3</div> <div name="item4" class="headitem">item4</div> </div>
How to call a http service which is redirecting, using jquery ajax with header?
Hi, I have 2 Java Application ( App1 , App2 ) deployed in a Tomcat Server. both this Application has one REST(http) Service. Say, SR1: http://192.168.0.1:8080/App1/rest/customer SR2: http://192.168.0.1:8080/App2/rest/customer And, the concept of this if you call this SR1, it will redirect the request to SR2. CORS for this Server is activated. < filter > < filter-name > CorsFilter </ filter-name > < filter-class > org.apache.catalina.filters.CorsFilter </ filter-class
please help about animate
$(document).ready(function(){ $(".arrow-layout").click(function(){ $(".arrow-layout").animate({right:'5px',opacity:'0'},"slow"); $(".img-circle").animate({marginTop:'-100px',opacity:'0',},"slow"); location.href='profile.html'; }); }); How to animate have delay to the next script $(".arrow-layout").animate({right:'5px',opacity:'0'},"slow"); Delay 1s $(".img-circle").animate({marginTop:'-100px',opacity:'0',},"slow"); Delay 1s after that redirect page to profile.html
updating json data
Hi, I have the following json data, dataSource: [{ id: 1, text: "root1", expanded: true, spriteCssClass: "rootfolder", items: [ { id: 2, text: "folder1", expanded: true, spriteCssClass: "folder", items: [ { id: 3, text: "c1", spriteCssClass: "html" }, { id: 4, text: "c2", spriteCssClass: "html" }, { id: 5, text: "c3", spriteCssClass: "image" }
Need help
Facing issue in replacing "src" attribute.I am new to Jquery.Need to replace D:/Images/TaskList_1033_Button.png by D:/Images/TaskList_1033_Button_Disabled.png <TD> <DIV class=Editor><SPAN id=ctl02_G0_G22_G23_2_UserSelection_ECardButton_771_0_Editor class=Links disabled><A style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: xx-small" id=ctl02_G0_G22_G23_2_UserSelection_ECardButton_771_0_Editor_0 hotKey="0"><IMG src="D:/Images/TaskList_1033_Button.png"><SPAN></SPAN><INPUT id=ctl02_G0_G22_G23_2_UserSelection_ECardButton_771_0_Editor_Selected_0
When I added: "left: 100;" in the click function everything stopped working. What am I doing wrong?
http://jsfiddle.net/jakecigar/h1sfjjz1/17/
When does "change" fire on select?
Hello, Of course you know I have no idea what Im talking about here but, Im having problems with a select box. When does the change event fire on a select box? Should I use a click or mousedown event instead? Thanx
Two questions
1. What do I need to do such that when I click (and change the top in code) the card stays in that position 2. How come the border for the div is not showing O Mighty gurus wise and knowledgeable please share your knowledge with a noob wanting to learn..
How do I add a click event?
http://jsfiddle.net/h1sfjjz1/10/
Onclick Message button to remove or reset the Table Row Style
Dear Jquery Expertist, I am asp.net developer. The 2nd row of table was green color because That is Unread Message was = True. After user clicked on 2nd row Messagging button, a new windows page will pop up. In the meantime, i want to reset the clicked table row style and change the Unread Message from True to False if It is True. May i know how to do that by using Jquery? <table cellspacing="0" cellpadding="2" id="MainContent_GridView1" style="border-width: 1.0px;border-style: None;font-size:
why is the width and height not applied to the image?
http://jsfiddle.net/h1sfjjz1/7/ also the top and the left?
I just want to show "Delete" link if I have more than one image in my images list
Im deleting banner images using jQuery and Ajax,but when I have just one image in my list I dont want to delete it. I have a list of images, and for each image I have a "Delete" link: echo '<a class="delete j_bannerdelete" id="'.$rslt_banner['id'].'" href="#">Delete</a> '; But its not working correctly. When I have two images and I click to delete one, I delete it, but my last image stays with delete link. And only if I refresh the page my delete link stays hidden. But I want to hide my link in
What is the best jquery codes to make the more less link feature?
Hello folks! I have recently searched a more less link codes using jquery that I used for my comment section page.I used to store the comments and replies into my database before displaying it in <p> element. Now I noticed that if your comments and replies that are stored in the database doesn't come along with this line <br/><br/> using the code below won't recognize the <br> or new line on my comments or replies unless your comments or replies stored in your database come along with
scroll with delay and loop list item
Hello, please help me for this solution. how can I make scroll with delay and loop for list item? thanks, Max
Please explain this statement
mouseenter: function() { tyvm a noob.
Namespace Problem (I think)
Hi, I've got a problem wich is based on namespaces conventions, I think. Here is a function from inside the $(document).ready(): var onGetGroups = function( response ) { userGroups = response; console.log( userGroups.data.length ); for( var i = 0; i < userGroups.data.length; i++ ) { console.log( userGroups.data[i].name ); $( '#allGroups' ).append( '<li class="ui-selectable" id="' + userGroups.data[i].id + '">' + userGroups.data[i].name + '</li>' );
Strange javascript behaviour
I've this snippet $('BODY').on('click', '.evidence_check', function() { var that = $(this); ... $.ajax({ ... }).success( function (data, status, xhrObj) { obj = $.parseJSON(data); console.log ( $(that).parent() ); $(that).parent().html(obj.img); console.log ( $(that).parent() ); }); I ask you a explanation of this: The FIRST console.log correctly give me the parent of target HTML element (it's
My jquery doesn't see <textarea>
Hi everyone. I have a javascript + php document which have to send mistakes, which users found on the website. I need to make it on jquery + ajax. My jqeury see the data like id user and mistake url but it doesn't see the text message. Empty data both on jquery and ajax. So i can't understand why it doesn't see the text variable. Check the code, please. <textarea id="say_error" class="error" name="say_error" rows="10" cols="45"></textarea> <input type="hidden" name="urlsw" value="<?php echo $_SERVER['REQUEST_URI'];?>"/>
dynamic display of <textarea> displays great long string of data
Trying to display stored data into a dynamically created table. In the <body>, <textarea> was defined with rows='3' and cols='40'. This, naturally, results in 3 rows of data showing 40 characters per row. Displays nicely in the 'form'. Now, assuming the data occupies the full 3 rows of 40 cols each, the display is one long string which makes the table spread out all over the page. Apparently the line feeds are stripped from the data. How can I maintain the 3-row. 40-col format in the dynamic display?
how can i loop through an object and out put divs with classes ?
hello i trying to create a bar graph i have this object for the bars, tears and totTears. var graphObjects = [ { id: 1, tears: 2, seletedTears: 1, }, { id: 2, tears: 2, seletedTears: 2, }, { id: 3, tears: 3, seletedTears: 2, }, { id: 4, tears: 4, seletedTears: 4, } ]; I would like the out put to be something like this <div class="graphContainer">
Force input value to be empty
Hi Jake; I have a form that has many rows. Each row looks like this -> http://grab.by/zYBa I want to make sure that there is only 1 text box able with a value more than 0 in each row. In this case either "piece" or "grams". I currently found some code but this disables the other box and as a result does not submit the disabled value. I need both values to be submitted. 1 with actual number and the other with value of "" (whic is nothing). I was wondering if you could help with this. Thanks $('td
SkyDrive/jQuery
Does anyone know how to access microsoft skydrive(now called Onedrive) with jquery. Im trying to use the embedded excel into my browser page. But I dont know what my file token is, or how to get it.? Thanx ...
Test for cross-browser cookie support
Hi guys, Trying to figure out the problem w/ this cross browser cookie code in Firefox, (it works in Safari, i.e. cookie state is true). As far as I can tell from reading, this should work for ALL browsers, as navigator.cookies doesn't work properly in IE. Keep getting false, when I know the cookie is in Firefox. function are_cookies_enabled() { document.cookie="testcookie"; var cookies = ("testcookie" in document && (document.cookie.length > 0 || (document.cookie = "testcookie").indexOf.call(document.cookie,
Is there way to simulate a button click with example cntrl-S
Hello, My customer wants to start using quick-keys with their application. I told them it was a piece of cake, so now Ive got to find out how to do it. Is there a way to simulate a button click for say "clickSave" with a "cntrl-S". Thank You
Customizing jquery Slider scroller to reposition on resize browser window
Hi, I am using the http://jqueryui.com/slider/#side-scroll on a project I was able to customize the slide so it has a fixed width. However I am having trouble customizing the jquery functions to get the scroller to reposition when the browser window resize. You can view the test page here: http://lecreativelab.com/test/warhaftig_test_site/portfolio.html the javascript is as follow: $(function() { //scrollpane parts var scrollPane = $( ".scroll-pane" ), scrollContent = $( ".scroll-content" ); //build
What am I doing wrong?
http://jsfiddle.net/h1sfjjz1/2/
Validation
Hi, I have 2 forms with 1 button, the code below works, but I need help integrating/implementing the JQuery Validation Engine (https://github.com/posabsolute/jQuery-Validation-Engine). I was hoping that the script below will not fire up yet if fields are not populated or if email is invalid. something like that. Cause what happens is that the form will be submitted if you click on submit even without data. $(document).ready(function () { $("#submitButton").click(function () { $.post($("#form1").attr("action"),
jQuery with multimedia
Hi, Not sure if this is the right place to ask such a question, How can I manipulate the multimedia devices connected to a computer ? I'd like to access the video and audio streams and send them to my website. Thanks,
scrolling div - having problem to display sub menu
Hi, I am trying to develop a menu with sub menu in a div with its height restricted and having a scrollbar for the div when the height of the menu exceeds the restricted height. But the sub menu is getting hidden inside the scrolling div. I would like to have the sub menu displayed outside scrolling div. To check the problem I am facing, please visit this link: https://www.goshopeasy.com/index.scroll.php Regards, Naveen
JQuery to populate XML into a Table
Hi - I am trying to create this web page with a table using XML. I know, your not supposed to use tables, unfortunatly the guy here ALWAYS wants tables and says CSS is going to go away and is not supported in all browsers. I won't go there so this is what I have so far and it does not seem to work. Also if you could kind of explain the process so then I can learn and hopefully be able to do this when it is needed again. Here is my XML (not all of it)... <allfaqs> <FAQs> <sortNum>1</sortNum>
How to get the dynamic header text on respective link click using jquery?
Hello Everyone, I am facing problem with jquery. Kindly help me by seeing this jsfiddle once. http://jsfiddle.net/Satish_Chandragiri/5Y9mG/111/ Here "sticky" is common with dynamic ids. On click of each sticky i want respective header value in alert message. here every header also having dynamic ids. eg. if u click on 1st sticky, i want " testing compltd" in alert box, on 2nd click, i want "helo testing on notifiction" in alert box. etc Thanks in Advance Satish Chandragiri
window.onerror - Read console log & handle specific error
Hi Guys, I'm trying to read the errors in the console log & then do something if a particular error is thrown that says 'Script error.' The following is some code I've pulled together and some commented pseudo code: function errorHandle() { window.onerror = function(error, url, line, column, errorObj) { alert('Error: '+error+' Script: '+url+' Line: '+line+' Column: '+column+' StackTrace: '+errorObj); return true; }; } // Then use a try/catch block to handle it try {
can I put an alert in a jquery function like this
$(function () { alert('in func'); $("#img1").on({ mouseenter: function () { $("img1",this).animate({ top: 380 }, 1000) }, mouseleave: function () { $("img1",this).animate({ top: 420 }, 1000) } })
check if node in JSON is empty
Hi! I have a question about JSON in general, using jQuery with ajax.. What I try to do is to do is to display value based on URL from google api with geo codes. The thing is that the result in JSON will not always have exactly the same number of nodes.. Let's say I want node number 3, it's fine as long as there exist such node and a vaule in the node. https://maps.googleapis.com/maps/api/geocode/json?latlng=61.766008,61.197510 (have only two nodes, results[0].address_components[2].long_name and
Optimal way to write if and else with minimum of repete?
Hello! My questions if about the best way to write the following stuff most optimal with so few lines as posible? I provide an shorten example, in my case it should be much longer (A-Z). I hope you see what I trying to do. Thanks! var Alfa = data.daily.[1].ico; // posible values A-Z var Beta = data.daily.[2].ico; // posible values A-Z var Gamma = data.daily.[3].ico; // posible values A-Z if (Alfa == 'A') { $('.testAlfa').attr('data-icon', 'A'); } else if (Alfa == 'B') { $('.testAlfa').attr('data-icon',
jQuery ajax call randomly leading to timeout in ios application using Verizon network. Server side coding is implemented using .NET handler.
the sample code is as below. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled Page</title> <link href="css/jquery.mobile-1.3.0.css" rel="stylesheet" /> <script src="js/jquery-1.9.1.min.js" type="text/javascript"></script> <script src="js/jquery-ui.js" type="text/javascript"></script> <script src="js/jquery.mobile-1.3.0.js" type="text/javascript"></script>
Has anyone managed to make a vertical accordion menu out of a databound asp:menu object?
Has anyone managed to make a vertical accordion menu out of a databound asp:menu object? I would like to simply format the asp:menu object so that it does vertical accordion as a drill-down rather than fly-to-the-right with each drill-down. My page is asp.net with a databound asp:menu control, bound to a sitemapdatasource The implication is that while the menu renders as a set of embedded UL lists, this is not a manually generated and updated list, as I see in ALL examples on the internet. Here is
Next Page