15,120 Topics

Member Avatar for
Member Avatar for Nollyvenon

I designed an invoice system that add rows automatically and computes the results, print it in another file that can be downloaded by other users.can i get help on how to multiply the price and quantity to get amount? this is my code: <SCRIPT LANGUAGE="JavaScript"> function showamt() { //var unitprice …

Member Avatar for utpal23
0
4K
Member Avatar for Boboc

If anyone can help me I would be most grateful, Im curently working on a website at the minute that uses images that have been uploaded to a directory, along with a location reference in a MYSQL database. I have currently got the page to show the thumbnail version of …

0
80
Member Avatar for woolm110

I've created a toolbar in html that displays a series of icons that act as link to perform a variety of different functions. (the links aren't fully live yet but they will be!). I need to take this html and turn it into a bookmarklet so upon clicking the bookmark …

0
147
Member Avatar for MrCapuchino

Hello, I have a dropdownlist populated with a datasource control, but I want to add an option to the dropdownlist client side that appears on top of all the databinded options. Right now I can do it but it appears at the bottom, how can I tell the new option …

0
76
Member Avatar for sid78669

I have the following code I am using to writing and reading cookies: [code=Javascript] //Get Villages from cookie function getVillageFromCookie(villageCount) { var currentVillage = -1; var villagesCookie = getCookie("tw_ratio_villageCount"); if (villagesCookie!=null && villagesCookie!="") { currentVillage = villagesCookie; } else { storeCookie("tw_ratio_villageCount", villageCount, 1); currentVillage = 1; } return currentVillage; } …

Member Avatar for stbuchok
0
186
Member Avatar for Shizuo

a javascript that count the number of words,lines,letters, spaces,special characters, vowels,consonants, sentence in a textarea I'm really noob in javascript but I do have an idea for counting words and letters

Member Avatar for urtrivedi
0
71
Member Avatar for Mona Ali

Hi i have made a web page in html in which i want as user enters his data and press a button load then computers MAC id,CPU id and Motherboard id is automatically inserted in the check boxes.if u have any idea how to do it then tell me This …

Member Avatar for urtrivedi
0
577
Member Avatar for sid78669

I have the following HTML in a webpage that I want to mine for data: [code=HTML] <td id="topdisplay" class="menu-item"> <div class="bg"> <a href="/game.php?village=55303&screen=ranking">Ranking</a> <div class="rank"> (4<span class="grey">.</span>120.|2<span class="grey">.</span>124 P) </div> <table class="menu_column" cellspacing="0"> </div> </td> [/code] I want to get the data inside the rank class and get the numbers, …

Member Avatar for sid78669
0
131
Member Avatar for Lius

[CODE]function populateHarga() { var x=document.getElementById("barang").value; document.getElementById("harga").value=x; var y=document.getElementById('barang')[document.getElementById('barang').selectedIndex].innerHTML; document.getElementById("nama_brg").value=y; } function populateTotal() { var y=document.getElementById("jumlah").value; var x=document.getElementById("harga").value; document.getElementById("totalnya").value=x*y; } </script> <html> <body> <?php include ("db.php"); $now=date("Y-m-d",time()); ?> <? if($_REQUEST['action']=="del") { mysql_query("DELETE FROM temp WHERE t_no={$_REQUEST['id']};"); } ?> <table border="0"> <tr> <td>No.Faktur</td> <td><? echo "$no";?></td> <td></td> <td>Tanggal Order</td> <td><? echo "$now";?></td> …

0
142
Member Avatar for charvie

I don't know what's the problem with this code. I've tried it on chrome and it worked. but in IE it isn't Jquery code [CODE]$().ready(function() { $("#loc").autocomplete("database.php", { width: 260, selectFirst: false }); });[/CODE] HTML code [CODE]<label>Location</label> <input type="text" id="loc" /> <h3>Result:</h3> <ol id="result" style="border:1px solid red;"></ol>[/CODE] PHP code [CODE]$term …

0
54
Member Avatar for vaanipala

Hi, I'm getting the following error when i try to get the next sibling of the current node in php: Fatal error: Call to undefined method DOMElement::next_sibling() in C:\wamp\www\Ajax\getcd.php on line 1 does anyone know on what i'm doing wrong? thank you. cd_catalog.xml [CODE]<CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> …

Member Avatar for hielo
0
153
Member Avatar for 080346

i have a website at localhost yet :) where user upload swf file and it is shown to him. i want to extract all the jpg and png images from that swf file .... Any suggestions or solution please.... Much obliged

0
55
Member Avatar for apanimesh061

[CODE] <!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></title> <script type="text/javascript"> i = 0; function changeimage() { images = new Array("1.png", "2.png", "3.png", "4.png"); if (i<images.length) { document.getElementById('myimage').src = images[i]; } else { i = 0; document.getElementById('myimage').src = images[i]; } i++; } </script> </head> <body> <script …

0
74
Member Avatar for newbie14

Dear All, I have a page here [url]http://183.78.169.53/tm/addAssign.php[/url]. You can select a value from the dropdown list and you will get a list of configurations with the word "Select". If you click on the "Select" word you will get a pop-up value with a list of checkboxes. So what I …

Member Avatar for almostbob
0
168
Member Avatar for limia

I amd doing a project using netbeans 6.9.1, i tried resolving the 'missing server problem' by adding the apache tomcat server, but i still cant access it. I did go to Servers and start it. Pls help...

0
45
Member Avatar for sean6219

Hello,I tried to make a blog and I inserted a horizontal drop down menu into my blog.However,when I do so,the content slider sort of splitting out and it dropped into my post section.I was told by the people from here that this problem is caused by some javascript problem.Can you …

Member Avatar for sean6219
0
150
Member Avatar for extemer

how i will change datepicker format to mm-dd-yy i have change it but while i post it post 00-00-00 here is my code please some one help me.... [CODE] <script> $(document).ready(function() { $("#admission").datepicker({dateFormat: 'mm-dd-yy'}); // String date = dateFormat.toString('dd-mm-yy') }); </script> [/CODE]

Member Avatar for almostbob
0
54
Member Avatar for devinodaniel

Hey folks. Out of necessity (and against web standards, I know) I must have two div with the same ID on one page. I'm trying to dynamically update a database with Ajax and update this div with that info. But when i go to update the second divd (with the …

Member Avatar for Airshow
0
232
Member Avatar for Luckychap

I have seen many beautiful clocks using images and and canvas and flash. So I thought of developing one with pure HTML,CSS3 and javascript, no images at all. This clock can be completely design using CSS. A brief description of Javascript used:- 'AnalogClock' is the name of the class which …

Member Avatar for Luckychap
0
470
Member Avatar for vizz

Here is my code for simple modal box I want to use [COLOR="Red"]'easeOutBounce'[/COLOR] easing effect of [COLOR="red"]jquery.easing.1.3.js[/COLOR]. How to bounce modal window while opening and closing? Please help For jQuery Easing Effects [URL="http://ralphwhitbeck.com/demos/jqueryui/effects/easing/"]http://ralphwhitbeck.com/demos/jqueryui/effects/easing/[/URL] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Modal …

Member Avatar for vizz
0
199
Member Avatar for neocyb

I'm using mootools-core-1.3.2.js to hide/show a div tag. Now what I want to do is : * slide the div tag away (done and works); * get the value from the "horizontal_status" and put in in PHP var to toggle something else Here's the javascript code: [CODE] <script type="text/javascript"> window.addEvent('domready', …

Member Avatar for neocyb
0
266
Member Avatar for devinodaniel

I have an INPUT box that the user will put their Mac Address into. I'd like to have the INPUT box automatically insert the :'s every two characters. So they would be able to type in the box "001ff3bdf27c" and upon clicking out of the box (or moving on to …

Member Avatar for Airshow
0
5K
Member Avatar for AngelicOne

I'm having a hard time validating a checkbox. How to do it? This is my checkboxes input [CODE] <input type="checkbox" name="topic[]" value="HTML"/>HTML<br/> <input type="checkbox" name="topic[]" value="XHTML"/>XHTML<br/> <input type="checkbox" name="topic[]" value="CSS"/>CSS<br/> <input type="checkbox" name="topic[]" value="JavaScript"/>JavaScript<br/> <input type="checkbox" name="topic[]" value="XML"/>XML<br/> <input type="checkbox" name="topic[]" value="PHP"/>PHP<br/> [/CODE] I would like to check whether the …

Member Avatar for AngelicOne
0
94
Member Avatar for MrCapuchino

Hello, I cannot find the problem with my code to be able to populate a dropdownlist based upon a previous dropdownlist selection. Here is all the necessary code HTML [CODE] <div class="control"> <asp:DropDownList ID="ddlEstado" CssClass="ui-state-default ui-corner-all filterDropDown" runat="server" DataSourceID="sdsEstadoDDL" DataTextField="nombre" DataValueField="nombre"> </asp:DropDownList> <asp:SqlDataSource ID="sdsEstadoDDL" runat="server" ConnectionString="<%$ ConnectionStrings:QMPConnectionString %>" SelectCommand="EXEC Catalogs.sp_ObtenerEstado"></asp:SqlDataSource> …

Member Avatar for MrCapuchino
0
150
Member Avatar for Punny

Can I use JavaScript on MYSQL? If so, do I keep using the old JS or move on to wxJavaScript? What is wxJS? I read it somewhere on-line and never fully understand any of it. Is studying PHP worth it after I finish doing JS? My goal is to make …

0
70
Member Avatar for Punny

Its my first time using JavaScript I'm trying to make the utctime and localtime to appear, but its not showing what did I do wrong here? [url]http://i53.tinypic.com/358a22w.png[/url] My work [CODE]<HTML> <head><title>Displaying Times and Dates</title></head> <body> <h1>Current Date and Time</h1> <p> <script language="JavaScript" type="text/javascript"> now = new Date(); localtime = now.toString(); …

Member Avatar for Punny
0
194
Member Avatar for oggiemc

Hello all..Im trying to integrate CKEditor into my drupal site..The problem is i cant seem to get the form plugin on the toolbar..Can someone tell me how to enable it? I thought it would be enabled by default? Thanks

0
57
Member Avatar for altarek

Hi I have dropdown menu have folders name like this <select id = "menu1"> <option>aaa</option> <option>bbb</option> <option>ccc</option> </select> and each folder has subfolders I want when change (menu1)has subfolders of each folder at another dropdown I don't know how to open the folder and have subfolders already I get the …

Member Avatar for stbuchok
0
56
Member Avatar for ghosh22

Hi..I am a newbie in JavaScript.I have two forms (in two different webpages) all with radio buttons. A user cannot select more than one option from each form. My plan is to pass the user input from both the forms to a perl script which would then query a MySQL …

Member Avatar for Arkinder
0
86
Member Avatar for mwenyenia07

i am new to javascript and jquery. i want a code that can load images from file, then display them one by one repetitively and randomly and possibly a text alongside each signifying something-what you call flash animation

Member Avatar for Arkinder
0
77

The End.