17,115 Topics
![]() | |
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 … | |
AS javascript date function return gregorian Date. Can I retrun Hijri Calendar date from javascript date function and how? Thanks in advance | |
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 … | |
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" … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Anyone know the difference between the two or the pros and cons? Thanks. | |
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> … | |
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> … | |
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 … | |
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 … | |
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 … | |
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{ … ![]() | |
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 … | |
Hi to all plz tell me how to use applet with html... | |
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 … | |
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? | |
Hi Frendz, How to get the id of an element using onClick Event in <body> tag using javascript? | |
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 = … | |
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> … | |
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"> … | |
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(' … | |
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 … | |
Hi all I m facing a proble with a proble, can any one please tell me code to show hostname? thanks | |
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 … | |
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 … | |
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 … | |
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 … | |
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; } … ![]() | |
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 | |
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, … | |
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 … | |
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, … | |
[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> … | |
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 … | |
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> … | |
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 | |
[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 … | |
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 … | |
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... |
The End.