17,115 Topics

Member Avatar for
Member Avatar for Joemeister

Hi everyone! I'm really struggling at the moment calling these two functions. The one function checks that all the fields are filled in and the other to validate the date in a certain format. The function that checks all the fields works but when I try to call the second …

Member Avatar for Airshow
0
582
Member Avatar for faizurrahman

AS javascript date function return gregorian Date. Can I retrun Hijri Calendar date from javascript date function and how? Thanks in advance

Member Avatar for Airshow
0
1K
Member Avatar for rajeesh_rsn

Hi, In one of my web page When user clicks a thumbnail view of my page then the main Image will show that corresponding My code as followa jQuery('products li img').click(function(){ var as=jQuery(this).attr('href'); jQuery('#mainImg').attr('src',as) }); My doubt is at the time of user clicks on that thumb a small preload …

Member Avatar for Airshow
0
58
Member Avatar for banmikko

I nedd some help regarding pagination. whenever i searched for a record, the pagination didnt work but it still show the results. here are my codes index.php [CODE] <html> <head> <title>Paginating Your Data with AJAX and Awesome PHP Pagination Class</title> <form action="index.php" method="post" name="searchdb" id="searchdb"> <table> <tr> <td><tr> <input type="text" …

0
48
Member Avatar for antonyruban

I write a upload code in php no problem in php but i want to select a multiple files(images) in single form tag(<Input type=file>) is it possible then how? help me

0
58
Member Avatar for Violet_82

Hi there, I am having a few problems with my website [url]http://antobbo.webspace.virginmedia.com/photography/testing/home.htm[/url] in IE6. Now, I don't want to waste too much time on this, as in I don't want ti to be perfect but I just want it to be looking decent in IE6. I created a separate css …

Member Avatar for Violet_82
0
108
Member Avatar for rinjin07

Hey all, I'm a total IT beginner and have been trying to figure out how to put raw html with css and javascript in the header on an article in Joomla 1.7? I heard about this JCE thing but no idea how it works. If someone could explain it to …

0
103
Member Avatar for riseguim

Hi, so I have this script that alternates my CSS stylesheets and it's working great. The thing is, there was a cookie coding that was included but it doesn't work. Basically what I want to do is that the browser remembers which stylesheet the user had chosen and keep it …

Member Avatar for riseguim
0
179
Member Avatar for anita_86

Hi!! This is some of the code I am using to add dynamic rows when user clicks the Add Row button.I want to show the calculated amount like: line_total=qty*unit_price; sub_total=total of line_total; total=sub_total+tax-advance; [CODE]<script type="text/javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; if(rowCount<3) { var row …

Member Avatar for anita_86
0
150
Member Avatar for choboja621

I have a problem building a simple prompt message that will ask the user the ff. First no. Second No. Operator being used + - * / % So far, i have this codes: Kindly help me.. Thaaanks! [CODE] <html> <body> <script type="text/javascript"> var num1, num2, ope, sum, diff, prod, …

Member Avatar for choboja621
0
90
Member Avatar for arsala211
Member Avatar for raghujosh

I have a google maps application which has an address text box. When we type in the postal address, it gives the corresponding latitude and longitude as a pop up info window on a google map. All i want to do is to be able to get the latitude and …

Member Avatar for Airshow
0
5K
Member Avatar for 54uydf

this is like my last hope guys! lol I need to generate a diagram that looks sort of like this only 4 times bigger using data from db [url]http://imageshack.us/photo/my-images/827/unledoyt.jpg/[/url] my db is MySql, I don't think this is possible using php, but I saw there are a lot of grapf …

Member Avatar for almostbob
0
119
Member Avatar for newbie14

Dear All, I have a link here [url]http://183.78.169.54/v3/addCVC.php[/url]. First if you select the name T1 via ajax the second drop down list is populated. Then pick anyvalue from the second drop down list and your will get a table populated below it. Then finally when you press submit button I …

Member Avatar for newbie14
0
91
Member Avatar for Mona Ali

hi to all i made a code to find the mac number that runs on java and gives me output but when i implement it on applet and link the applet with html then applet links correctly but the logic to find mac number does not execute.....what should i do...here …

Member Avatar for johny20
0
243
Member Avatar for Inny

I have an issue with my iframe, that contains pages of my online shop. When using paypal, having added a product to the cart and on the paypal page, you click. continue shopping, you are returned to the shop but other 'add to cart buttons' are non functional unless the …

0
63
Member Avatar for OmniX
0
54
Member Avatar for Zibo

Hello. I'm trying to add a single test record (a comment item) to my MySQL database. So here are my sources of JSF2 project. - main xhtml page: [code]<h:body> <h:panelGroup id="mainBlock" layout="block"> <h:panelGroup id="header" layout="block"> <h:graphicImage value="resources/logo.jpg" style=""/> </h:panelGroup><br/> <h:panelGroup id="menu" layout="block"> <h:panelGrid columns="1" style=""> <h:outputLabel value="MENU" style=""/> <br/> <h:form> …

0
90
Member Avatar for Zibo

Hello. I'm trying to add a single test record (a comment item) to my MySQL database. So here are my sources of JSF2 project. - main xhtml page: [code]<h:body> <h:panelGroup id="mainBlock" layout="block"> <h:panelGroup id="header" layout="block"> <h:graphicImage value="resources/logo.jpg" style=""/> </h:panelGroup><br/> <h:panelGroup id="menu" layout="block"> <h:panelGrid columns="1" style=""> <h:outputLabel value="MENU" style=""/> <br/> <h:form> …

Member Avatar for Zibo
0
133
Member Avatar for Boboc

Hi, wonder if anyone could help me, I have taken an image slideshow from dynamicdrive.com and would like to use my own photos, the location of these images are stored in a php array, and I am struggling to get the images out. Its a matter of sticking the $code_array …

0
61
Member Avatar for AMADH

Hello everyone, I was won dering if anyone knows of a good tutorial for auto-complete that will allow me to search 5 or 6 different columns in a database table. right now I have one that lets me search only one, but it will not let me search more than …

0
101
Member Avatar for hbmarar

Hi, Please do help me as I am not sure whether javascript based solution is enough for getting the below needs met. 1. [url]http://www.sevilla111.com/[/url]. Like in this site, I am thinking whether the menu link click could move the background image to predefined mapped location as zoomed in. 2. Can …

0
102
Member Avatar for KPheasey

I have the following code which should update the total items in a categories list every time that a search filter is changed. However, the function will only run once. [CODE] function getXMLHTTP() { //fuction to return the xml http object var xmlhttp=false; try{ xmlhttp=new XMLHttpRequest(); } catch(e) { try{ …

Member Avatar for stbuchok
0
449
Member Avatar for johny20

Hello guys, I try to implement a chat application using PHP + MySql. The problem so far is that when I am chatting, I "lose" inputs when a small part of the page goes to be updated. On the other web browsers (Chrome, IE, Opera) I have some delay but …

Member Avatar for johny20
0
86
Member Avatar for Mona Ali
Member Avatar for ALLNO

Hello, I have recently been working on a custom gui and am having trouble with a section of my code that handles the creation of window-style dialogs: (i appologise in advance but i had to include the whole code as Google Chrome would not pin point the error and only …

Member Avatar for Luckychap
0
113
Member Avatar for Stefan_Lam88

Hi guys, anyone pro in tooltip of jquery? I wanna know how to call the function. Becoz I m having problem in mouseover of particular icon to display tooltip..any1?

0
61
Member Avatar for karthik_ppts

Hi Frendz, How to get the id of an element using onClick Event in <body> tag using javascript?

Member Avatar for ushajase
0
16K
Member Avatar for lps

I am using a acript to control the input field of my page where it can enters numbers only in telephone field. Can anyone help me on how to modify the code to allow a symbol '+' ? [CODE] <script> function zz(txt) { var txt1 = txt.value.replace(/[A-z]/g, ""); document.getElementById('aa').value = …

Member Avatar for urtrivedi
0
119
Member Avatar for uselessninja

hello everyone .... i have a submit form (number to word converter) .... my problem is when i clicked a my submit button it will not work ... "but" when i duplicate my form it WORK.. i wonder why...btw this is my code: (dont mind my coding hehe )... <html> …

Member Avatar for uselessninja
0
200
Member Avatar for wfray

I've tried a number of the HTML/CSS techniques to get my table to scroll horizontally but none of them work. The table has been wrapped with a DIV and the CSS has included the OVERFLOW code but all to no avail. The code is basically like this: [code=html] <div class="Divscroll"> …

Member Avatar for aquilax
0
144
Member Avatar for Shizuo

heres my script [CODE]function count_chars(tarea) { if ( document.getElementById("checkchars").checked ) { x=document.myform.tarea.value; document.myform.charcount.value=x.length; } else { var x ; x = document.myform.tarea.value.replace(/\n/g,''); var y = x.split(' '); document.myform.charcount.value = x.length - ( y.length - 1) ; } } function count_words(tarea) { var y=tarea.value; var r = 0; a=y.replace(/\s/g,' '); a=a.split(' …

Member Avatar for urtrivedi
0
94
Member Avatar for come_again

Hello everyone, I am trying to write a simple web application where I have a mySQL table. I am using drop down menus to select options on how to filer the table.... i.e. select the subject, filter the table for just that subject and continue on. Anyways I'm trying to …

Member Avatar for come_again
0
200
Member Avatar for san-biegwenja

Hi all I m facing a proble with a proble, can any one please tell me code to show hostname? thanks

Member Avatar for Airshow
0
38
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
83
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
151
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
79
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
189
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
73
Member Avatar for tnjiric

Hi, I'm currently a student of the Senior Year at RIT Information Technology. I'm working alongside my studies as a TA on my college for classes: Programming in Java I, II, II, Computer System Fundamentals, Intro To Networking and Programming in Perl. During the summer I work as a PHP, …

Member Avatar for tnjiric
0
188
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
581
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
132
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
145
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
58
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
156
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
58
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
76
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
169
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
47

The End.