15,121 Topics
| |
Hi, I have a div element which have a lot of other divs inside. Inside that divs are also div elements. Now, how can I change width of every div element inside wanted div using jquery (all levels of children). Example [CODE] <div id="1"> <div id="2"> <div id="3"> </div> </div> … | |
[code=Javascript] //JavaScript function checkCountry(slctFild) { if(slctFild.selectedIndex==1) { showStateSelectBox(); hideProvinceSelectBox(); } else { if(slctFild.selectedIndex==36) { hideStateSelectBox(); showProvinceSelectBox(); } else { document.getElementById("00N200000013FlZ").selectedIndex = 0; // ERROR gets thrown here!!! document.getElementById("00N200000013Flo").selectedIndex = 0; hideStateSelectBox(); hideProvinceSelectBox(); } } } [/code] [code=Html] //HTML Registraton Form <select id="00N200000013FlU" title="Country" onchange="checkCountry(this)" name="00N200000013FlU"> <option value="" selected="selected">--None--</option> <option value="United … | |
Hi, I have a custom httphandler (HttpUploadHandler.ashx) which is used for handling requests from a file uploader. It collects all the files from a client then fires a thread to do some processing on the files. When large amounts of files are added it will throw 'Thread was being aborted' … | |
Can someone help please i have a code and want the quantity to be retrieved from the database and loaded to each textfield row.can someone help debug. thanks. <SCRIPT LANGUAGE="JavaScript"> function getValues(objName,objName2,objName3) { var var3 = ""; var arr = new Array(); arr = document.getElementsByName(objName); arr2 = document.getElementsByName(objName2); arr3 = … | |
Hello, I am working on a chat application in jQuery and I have used the function setInterval(), however, it doesn't seem to refresh the div element.. Or load it for that matter.. Here is the code: [code] <!DOCTYPE html> <html> <head> <style> #shoutbox { width: 400px; height: 400px; border-style:solid; border-width:5px; … | |
I want to move my table data vertically means from bottom to top Continues without taking any gap when page is loaded can any one tell me how could i do this using jscript query | |
The problem is as follows. When I enter to some page from my site clicking the link (FF browser), I am redirected to an unwanted site. And some window pops-up where you can choose whether to stay or leave the site. When you click I want to stay, the window … | |
Hi i am trying to develop my registration page it is a combination of multistep (tabs) with real time validation which is sort of working ok, it validates on entry which is really good, however when i include the script [CODE] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" charset="utf-8"></script>[/CODE] which is for the form … | |
Hi I have an website. Where people may write short messages. Now I want that home page will display 10 recent messages from those posts. So I want that New message will be shown and one oldest will be remove. All this will be down by ajax. Can anybody help … | |
Hi, Can any one tell me how to pass a value from jsp to javascript both being different files.. ie a.jsp , b.js.. I have a hidden value in jsp i want to get its value in the javascript file. thank you, kaleeswaran | |
I have a C# WCF Ajax service with an OperationContract that accepts a string of text that is expected to be CSV. I have written most of a CSV parser for this, but I would like to possibly use OLEDB to parse this string. Is this possible? I would rather … | |
| Hi there, I would like to implement a web based UI that allows people to drag and drop "chairs" and "tables" onto a floor layout (grids) and save it to their profile by storing in the database. I am wondering how do I start doing this? I am using vb.net … |
Ok this is as basic a jquery coding as you can get.. Why does div id=tx show on load??? I'm testing this on wamp localhost...www folder. Any help?? Is there anything i need to do to save the jquery.js? jquery.js is in the same folder as this page. [CODE] <html> … | |
It's taken me a long time trying to fix this and I still haven't found out how to do it. My knowledge of javascript/jquery isn't great but for the website I'm building I tried experimenting with some, reused some code (reuse was allowed by author) for a content gallery and … | |
Hello Fellows :) I am trying to find a way to get more than one characters pasted on html text field (input type=text), using onkeydown or onkeypress, I am NOT interested in onkeyup(it works), so please do not suggest me this solution. Also I am not interested in Jquery, I … | |
I use the following function to expand the footer border for a website I'm creating: [CODE] <script type="text/javascript"> var x=5; <!--original height--> function expand() { document.getElementById("footer").style.height=x+'em'; <!--Gets the height from css.css in the div "move"--> if(x>10) { <!--Desired height after expansion--> clearTimeout(t); return; } x++; <!--desired height isn't yet reached, … | |
Hello guys i learn something new so i thought to share it with you people.This tutorial is about when you search some data in a search bar and as you enter any key word e.g 'a' so it start looking for keywords starting with 'a' and highlight it.In this way … | |
Hello. I am trying to create a javascript date/time script to display the current GMT date, but obviously because javasceipt is client side it displays the clients current date not the GMT date. Does anyone know how i can get javascript to show the current GMT date to anyone (even … | |
i have a code to add and delete of divs when i click add button div was creating and on delete button div was deleting but i need with single link when on first click div has to create on same link if we click on second time div has … | |
I have a form having validation given below in java script. The problem is when i am inserting form data in a database,if there is any validation error,still added in database. please give me suggestion where to use PHP code I am using this code for insertion [CODE]<?php if(isset($_POST['submit'])) { … | |
I have no idea if I am doing this correctly. Eight years ago I was a C++ programmer, then I left the industry. I am lost and have been reading heaps on the web but do not know where to begin. I wrote a MySQL DB, I have populated the … | |
Can any one help me reg this. I am working in web application project. In this on a div i have double click event to open a popup box, in android browser if i did double click then it fires zoom in event. Please any one help me javascript code … | |
l have got a series of menus. What l want to do is change the background-color of the link onclick. What l have done use jquery like this [code]jQuery('.menu a').click(function(){ var clz = jQuery(this).attr('id'); jQuery(this).attr('class','active'+clz); })[/code] This is not work.The code needs to work on mobile phones | |
HI while clicking calendar button calendar is displaying in IE6 and IE8 but in IE7 browser calendar is not displaying, java script error like obj null iam getting pls help me in this // written by Tan Ling Wee on 2 Dec 2001 // last updated 20 June 2003 // … | |
my question is how can I output the data on the input box "Order total is" I have try everything but I just stuck on this part, I'm very new on this, I did the function showSum so I can show the sum of the total checkboxes. thank you for … | |
Hello everyone, First of all I would like to introduce myself, I'm tom and I spend hours developing websites. Right, down to the serious stuff... I have made a nice little AJAX based commenting system, it shows the 5 latest posts, so, when a user posts a comment the list … | |
HI there, I have a really annoying and strange problem with a script, here's the code: [CODE] <script type="text/javascript"> $(function() { var images = $('.home_page_pic img').hide(); var index = 0; images.eq(index).show(); function swapImages() { images.eq(index).fadeOut(2000, function() { index++; if (index == images.length) { index = 0; } images.eq(index).fadeIn(2000, swapImages); }); … | |
So I have just started to develop web pages, and spry menus have me a little stumped when it comes to things. However I got this one working in both FireFox, Chrome, and Safari. Internet Explorer, not so much. Anyways, the problem persists even with code changes to the CSS. … | |
Below code in bold is here i got the problem please help.the problem is while i submit the form a div appear after pressing submit button that data is submitted the div is appearing perfectly fine but the problem is after i inserted this code that is bold below for … | |
i have written java script to display calender in IE 6 browser calender is displaying(working fine) but in IE 8 browser if i click the drop down button calender is not displaying pls tell me how to solve even if comaptability mode on |
The End.