14,054 Topics

Member Avatar for
Member Avatar for OmniX

Anyone know the difference between the two or the pros and cons? Thanks.

0
50
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
132
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
58
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
100
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
100
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
446
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
81
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
112
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
58
Member Avatar for karthik_ppts
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
117
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
197
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
141
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
91
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
196
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
35
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
135
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
565
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
130
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
141
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
152
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

The End.