15,120 Topics

Member Avatar for
Member Avatar for Silo45

[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 …

Member Avatar for Taywin
0
2K
Member Avatar for divin757

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' …

0
122
Member Avatar for Nollyvenon

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 = …

Member Avatar for stbuchok
0
190
Member Avatar for phorce

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; …

Member Avatar for stbuchok
0
271
Member Avatar for poonamrohila

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

0
43
Member Avatar for kacprek

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 …

Member Avatar for kacprek
0
308
Member Avatar for kaosjon

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 …

0
78
Member Avatar for arctushar

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 …

Member Avatar for toms ace
0
147
Member Avatar for kaleeswaranm

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

Member Avatar for shivnal
0
4K
Member Avatar for HG&C

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 …

0
95
Member Avatar for jremio

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 …

Member Avatar for codeorder
0
213
Member Avatar for RazorRamon

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> …

Member Avatar for stbuchok
0
193
Member Avatar for asif49

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 …

Member Avatar for Troy III
0
56
Member Avatar for Moderns

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 …

Member Avatar for Moderns
0
386
Member Avatar for asif49

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, …

Member Avatar for asif49
0
175
Member Avatar for extemer

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 …

Member Avatar for Taywin
0
165
Member Avatar for Monster Killer

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 …

Member Avatar for Taywin
0
185
Member Avatar for prashanth18

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 …

Member Avatar for Taywin
0
125
Member Avatar for jacob21

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'])) { …

Member Avatar for cereal
0
156
Member Avatar for vitaquous

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 …

Member Avatar for vitaquous
0
234
Member Avatar for anandhikrishnan

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 …

Member Avatar for MartinRinehart
0
122
Member Avatar for masocha

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

Member Avatar for MartinRinehart
0
1K
Member Avatar for raviaaaa

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 // …

Member Avatar for MartinRinehart
0
434
Member Avatar for fraandres

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 …

0
115
Member Avatar for toms ace

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 …

Member Avatar for Airshow
0
238
Member Avatar for Violet_82

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); }); …

Member Avatar for Violet_82
0
97
Member Avatar for cdringe1

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. …

0
42
Member Avatar for extemer

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 …

Member Avatar for Airshow
0
184
Member Avatar for raviaaaa

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

0
65
Member Avatar for matt.clark.228

I am building a page with a member login system on the home page. I right now have it so that if the user does not enter a password or username it will change a div to block style and show the error at the top of the page. Is …

Member Avatar for MartinRinehart
0
151

The End.