1,694 Topics
| |
i have code [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $('#<%= btnTest.ClientID %>').click(function () { var checkedControls = $('#<%= CheckBoxList1.ClientID %>').find('input:checkbox:checked'); if (checkedControls.length > 0) { alert('Valid'); } else { alert('Please select atleast one checkbox'); } return false; }); }); </script> </head> <body> … | |
Hello, thanks for reading my thread. I'm still new to web development so I appreciate your help in advance. I am having a problem that I am sure many people have run across in the past. In my project, I have sidebar menus loaded based upon the user permission level … | |
Hello I want to change date format to insert date in mysql. I tried as below code [CODE]<script type="text/javascript"> $(function() { $("#datepicker").formatDate('yyyy-mm-dd'); $("#datepicker").datepicker(); }); </script> [/CODE] but its not working form me. can anybody suggests me how to do it? | |
I have a page at the following url: [url]http://streetkids.zuka.net/sandbox/map-new.html[/url] Pick a continent, select a country ( orange if in Asia, green if in Africa) click on one of the bullets and some info pops up. Works fine in FF and Safari but in IE, it works (almost) once, but then … | |
Hi, I have the below code and it works fine except the part where I need to access data.Picture. I know its a syntax error but I can't seem to understand what. [CODE]$.post("rpc.php",arr, function(data) { $('#dorants').append(data); $('#dorants').append(data.Picture); [/CODE] Like always appreciate the help :) | |
Hi, Below is my code which I am using to remove a div tag. I also want the script to add the same div tag later once certain conditions are meet. The div has some preloaded content too which I don't want to loose. I tried the add() function but … | |
Hello All, First let me acknowledge I am still fairly new to webdevelopment and this site. Thanks in advance to anyone who can help me with this issue and for those willing to try. The PROBLEM: I load into a div on index.php page via AJAX another php page. Once … | |
i am using jquery at client end and use this code to send data [ICODE] $.post( "ajax.php", { Name:'doodle', Fathers_name:'anything' }, function(data){ $('#display').html(data.returnValue); }, "json" ); [/ICODE] the thing is that php $_POST['Name'] does not return anything nor does json_decode($_POST['Name']) but when i send data using the same function but … | |
good day guys, i have loaded jquery keypad ([url]http://keith-wood.name/keypad.html[/url]) in a block ui modal window ([url]http://jquery.malsup.com/block/[/url]) but sadly it refuses to render in the modal window. has anyone encountered this problem yet? i have tested the jquery pad outside of the block ui modal and it works perfectly fine but … | |
I had many photos, each photo size is 200 * 150px,each line has four photos,there have 4 lines. When I click one of them, the photo will fadeout with some introduce text, the original array photos will move to the both side of the page.(there should be have a animate … | |
Hi, I am currently deciding in which technology should I put more time in and learn . I have been working with drupal and wordpress since 4 months and I like the platforms. As for the browser side work I am a bit confused whether I should put more time … | |
Hi There, I have found a very usefull and lightweight code that is made by the famous Tim Van Damme, a Dutch compatriot. Here is the code, i will explain my question beneath. The js that works in combination with the js libary. [CODE]<script language="javascript" type="text/javascript"> jQuery(document).ready(function($) { $('.tabs').each(function () … | |
I would very much prefer one that works with IE. My current code only allows for an element to become visible, but I would much prefer if it faded in. Thanks in advance, kids! [CODE]<html> <head> <title>title</title> <script language="JavaScript"> function fncShow() { document.getElementById('box1').style.visibility = 'visible'; } function fncHide() { document.getElementById('box').style.visibility … | |
Hello everyone, i'm using a jquery datepicker like this: [CODE]<script type="text/javascript"> $(function() { $('#inlineDatepicker').datepick({ rangeSelect: true, monthsToShow: 3, minDate: '+7d', rangeSeparator: '|', altField: '#resdate', altFormat: 'dd-mm-yyyy', pickerClass: 'locgrid', onDate: nationalDays } ); }); var natDays = [[12, 18, 2010], [12, 19, 2010]]; function nationalDays(date, inMonth) { if (inMonth) { for … | |
have a single look on code based on jquery,the code is running fine but the problem is when ever i click on any radio button to create div it created div but overlap each other ,i added blank row or <BR> but useless any help [CODE]<body> <form id="form1" runat="server"> <div> … | |
I'm trying to write some php that will allow a user to edit an order they previously placed. But in the same way they made the order if that makes sense. So this is my jQuery code to send values to a php page: [CODE]$('#submit').live('click',function(){ var postData = {}; postData['data[order_id]'] … | |
i have a form with some hidden fields..... index.php page.... [code="php"] <form id="addReplyForm" method="post" action=""> <input type="text" id="target" name="commentreply" /> <input type="hidden" id="session_id" name="session_id" value="" /> <input type="hidden" id="page_id" name="page_id" value="" /> <input type="hidden" id="firstName" name="firstName" value="" /> <input type="hidden" id="lastName" name="lastName" value="" /> <input type="submit" id="submitReply" value="Reply" /> </form> … | |
Hi, I have a question regarding Jquery :). I'm just a beginner and I don't know much that's why I need your help. I have a main menu that is drop down menu with images. But that other list must be separated. Why? Cause I'm working with Kentico CMS (ASP.NET) … | |
Hey guys, I have a bit of a problem with implementing an ajax based contact form. I am sure I forgot something...does this almost look right? What do you think the problem is, the form still submits but the page refreshes instead of just sliding the form up and fading … | |
I am still learning jquery but I am wondering why this code does not work. I have a select field called item_name and a hidden field called amount. Based on the selection in item_name, I want to set the value of the hidden field (amount) to a set value. For … | |
Hi Friends Currently I'm Developing a CMS in which I used JQuery for validation of form. In the State and City I have used Ajax to Fill the States after selecting the Country. All other validation are working fine but the validation I applied on the State field is not … | |
Hello, I am doing simple Jquery ajax post to php and I am very new to three languages. Any suggestion or guidance. I have two iframes 1. iframe 1 is Navigation menu(loaded with flash menu). <iframe name=”menu”/> 2. iframe 2 is load the web page. <iframe name=”page_load”/> When I click … | |
Can someone enlighten me as to why this does not work in Safari and only apparently works sometimes and on some machines in IE. I have tried using all three (blur, change, keyup), used live and bind. Nohing seems to work. I have to say though, that in IE on … | |
Hi There, - I've got a list similar to the following: <ul> <li><a href="item1.php">item1</a></li> <li><a href="item2.php">item2</a> <ul> <li><a href="item2-5.php">item2-5</a></li> </ul</li> <li><a href="item3.php">item3</a></li> </li> - Item 2 needs to have a class added to the li using jquery. I've tried the following but it isn't working: <script> jQuery(function(){ $(this).parent('li').addClass('current'); }); </script> … | |
Hi Friend, I have a Jquery Validation code in which I have written [CODE]element.focus();[/CODE] When I view that page into other browser I able to modify that previous Field if I was left next field blank or wrong input. but in chrome i wont able to do so..! Can you … | |
How can I create a double click event on a Web Form TreeView .net object that has no defined double click event on the leaf node? | |
Hello I've looked around and looks as if this can be done with Jquery, but the guides and full of so much bullshit its insane. Anyone done this and have a good way to do this. Most of the other ones have form validation and crap which 1) doesnt relate … | |
Hello, I have a jQuery datpicker setup like this: [CODE] <script type="text/javascript"> $(function() { $('input').filter('#startPicker').datepick({ minDate: new Date(2010, 11, 20), maxDate: new Date(2010, 11, 27), multiSelect: 999, altField: '#date' }); }); </script> [/CODE] is it possible to show the number of dates the user clicks on in the altfield, or … | |
I'm having a problem with the following code: I have the following jquery call: the problem is that I have several `<select name="^DDLColumns1..2..3..4`. etc.. controls on my page, however this is only populating the first one: `<select name="^DDLColumns1"` anybody know why the select would do this? <script type="text/javascript" language="javascript"> $().ready(function() … | |
Hello, I have the following code, which shows a number of form text input fields, depending on a number entered into another field: [CODE]<script type="text/javascript"> $(function() { var input = $('<input type="text" name="delegate" id="delegate" />'); var newFields = $(''); var input2 = $('<input type="text" name="non_delegate" id="non_delegate" />'); var newFields2 = … |
The End.