14,053 Topics

Member Avatar for
Member Avatar for christ_gal12

Anyone know how to put timer on this code that the higher the level the lower the time given to solve the puzzle..this will run only in IE browser [CODE] <HEAD> <style> .bigcell { background-color:#aa9966; border:4px solid #aa9966; text-align:center; } .cell { width:40px; height:40px; font-family:Verdana, Arial; font-size:10pt; font-weight:bold; background-color:#996633; color:#ffff33; …

Member Avatar for christ_gal12
0
116
Member Avatar for ladybug24

Hi Daniweb community! I started learning javascript in school, and the best way to learn is to get into it. So I found a Sudoku game online "http://iphone.janjanousek.cz/isudoku/" and download the files on to my hard drive with much success (all the scripts). The game and site is very well …

0
128
Member Avatar for raghujosh

I have a Javascript function that allows the display of a textbox upon selecting an option from a dropdown menu. In my case when a user selects listbox as the option, the text box appears. I want the same thing to happen when another option (checkbox) is selected. when I …

Member Avatar for raghujosh
0
6K
Member Avatar for carebear23

I am designing a website that connects to a database. I am using wampserver to connect to the website. In my customer add page I am trying to ask the website to generate an autonumber from the database. As my table in the database is set up as following: [CODE=SQL]CREATE …

Member Avatar for tomato.pgn
0
130
Member Avatar for singaiah39

Hi, I have problem in displaying "please wait.." text when the client requests data from the server. I have created a <div> element as below. <DIV ID="Loading" STYLE="position:absolute;z-index:5;top:30%;left:42%;visibility:hidden"> Please Wait.... </DIV> I am using Ajax call, to get some table data from the server. This takes around 10-15 seconds. Client …

Member Avatar for R0bb0b
0
1K
Member Avatar for navp

Hello, I am new to JavaScript, I have to make a pizza webpage for my assignment. I am done the HTML part and PHP part. I have a form and when the user clicks submit it calls the check() method in the JavaScript. Even if the fields are empty, the …

Member Avatar for vibhaJ
0
170
Member Avatar for branding4you

Hi I am new to PHP and looking to create a search php page, the search needs to be by Country, State and city. I have tried several methods over the last three weeks and none work, im slamming my head against my desk! Basicly I have three dropdown boxes …

Member Avatar for jayapalchandran
0
3K
Member Avatar for pawarnilesh4u

I want to send another ajax request when one request is in process to get the status of first request. If I call both the request the second request gets blocked till the completion of the first request. Can anyone suggest a method so that second request gets processed in …

Member Avatar for pawarnilesh4u
0
349
Member Avatar for himit

Hi All, I am using JQuery in my solution and was trying to get the value of the cell which has been clicked. however, after all my searches i ended up with no exact solution. the most common solution i got was to select a row (by making multi select …

Member Avatar for himit
0
2K
Member Avatar for rom.

Jquery's .not() and :not doesn't seem to work in this particular scenario. Any corrections or alternatives would be REALLY appreciated! As you see from the code below, when you click on the green box, the purple box will either slide up or down. How can I exclude the checkbox from …

Member Avatar for rom.
0
227
Member Avatar for gambit_1607

Hi I have a select list on my form as the following [CODE] <form name="source_form"> <select id="sel_source_zero" name="sel_source_zero"> <?php $sources = _ajax_get_news_sources(); foreach ($sources as $key => $value) { print ("<option value=\"$key\">$value</option>\n"); } ?> </select> <input type="submit" value="Submit" /> </form> [/CODE] When the user selects a value from the list, …

Member Avatar for Airshow
0
99
Member Avatar for webdesignservic

I try to convert a javascript object into string, but i just cannot get the solution after Google on it. Can someone help me about it? Thanks first...

Member Avatar for hielo
0
114
Member Avatar for RunTimeError

Hey guys, I've done this so many times before but I can't seem to get it working!! All I'm trying to do is in the JavaScript at the top change a span tag to whatever the current window location is but it doesn't work! [CODE=HTML] <div id='Box' class="whitebox"> <div class="position"> …

Member Avatar for Luckychap
0
307
Member Avatar for dschuett

I have an onclick that triggers ajax which calls a php script to pull data from MySQL. This information is then displayed in a div. The problem I am having is that sometimes pulling the data from MySQL takes 2-3 seconds, so the div is empty for about 2-3 seconds. …

Member Avatar for dschuett
0
396
Member Avatar for bharathisankhya

Hi All, Iam using RSF(reasonable servlet faces) i need to clear the fields in the form after user submits it using javascript onload function. can anyone please help me. here is my 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" xmlns:rsf="http://ponder.org.uk/rsf"> <head> <title rsf:id="basic-page-title">Sakai Skin for FlowTalk</title> …

Member Avatar for bharathisankhya
0
3K
Member Avatar for Luckychap

This is Jquery plugin which can be used to change the content a its place. Features: 1. Easy to use 2. Maintain changeability of Jquery Know Issue: 1. Can take html string also as input For example: html: [code=html] <div id="editable">I can be changed right here</div> [/code] javascript: [code=javascritp] $.('#editable').editAtPlace(function(newtext, …

0
359
Member Avatar for zisis86

hi! i am totally new in perl and i have a problem..i have a search maschine and after every query i call a perl script to do the jod and see the results. i want every time i run the perlscrit to be able to see a progress bar in …

Member Avatar for senthilamp4
0
83
Member Avatar for OneDreamCloser

hello all, today i am trying to write my first CGI program. so i have a HTML page, a JavaScript program that both work just fine when i run them locally. so, the next step is to run it on an Apache server (locally on MacOSX) and the first example …

0
65
Member Avatar for jamesf786

Hello, There is multidimensional array which has stored several information about each record. From those 1st is name and 2nd is pswd I am trying to write a function which would check name and pswd entered by user and check whether name exists in array or not. If it does …

Member Avatar for noamwegner
0
95
Member Avatar for >>> isaac = []

First I have to say, Eclipse works wonderfully except for this minor problem. I've tired looking for help on this for about a week and so far the only soluctions relate to content assist not working at all. None refer to content assist missing some major functions, libraries, classes. Some …

Member Avatar for >>> isaac = []
0
1K
Member Avatar for melisko

Hy guys i was creating small page , with mobile phones . And i need little push . The problem is this : On main page i have small drop down menu which contain some values . And i want to take the value and display the appropriate stuff inside …

0
74
Member Avatar for 54uydf

Hey, I want to add tabs to my php page, but I don't know JS.. I found many ready tabber scripts but I'm having 2 problems- the text on the tab's title is set somewhere in the JS and I can't find it, it makes them Tab 1, Tab 2, …

Member Avatar for 54uydf
0
100
Member Avatar for MDanz

This code adds a new textarea when i press the "add" button. How do i alter the code so it can remove a textarea. e.g. i added 4 textarea's but i only intended to add 3, how do i delete the 4th textarea? [CODE]<div id='newdiv'> </div>[/CODE] [CODE]<input type='button' onclick='new()' name='add' …

Member Avatar for PsychicTide
0
102
Member Avatar for george61

This problem is about passing parameters between functions(define neighbour elements and acess these elements) Here is some HTML [CODE] <ul class="listing"> <li><a href="imgs/eli.jpg" id="1" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/eli_t.jpg" width="150" height="100" class="images" /></a></li> <li><a href="imgs/ggallin.jpg" id="2" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/ggallin_t.jpg" width="150" height="100" class="images" /></a></li> <li><a href="imgs/jontarata.jpg" id="3" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/jontarata_t.jpg" width="150" height="100" class="images" …

Member Avatar for Airshow
0
146
Member Avatar for phouse512

Hello all, I have a problem with some AJAX code that I'm working on. There are three different parts to my problem. The goal of this code is to have a a link that says, "Show comments" to display the comments for a post from an admin underneath the update. …

Member Avatar for Airshow
0
336
Member Avatar for Momerath

Anyone else having issues with the javascript on Daniweb crashing Firefox 4? It doesn't happen all the time so I'm guessing it's some advertisement that is doing it. Just FYI I have no plug-ins, add-ons, whatever. Just the browser. It rarely happens in the programming forums, mostly in the Community …

Member Avatar for Momerath
0
246
Member Avatar for dschuett

I have a php script that pulls several rows of invoices from a database and displays them on the screen in table format. I have created an onclick per row within the while loop in order call another php script that runs a query to pull all the attachments for …

Member Avatar for Akash Saikia
0
1K
Member Avatar for monstercameron

[URL="http://www.thinkteletronics.com/experimental.htm"]http://www.thinkteletronics.com/experimental.htm[/URL]i have written some javasript code to play an animation with sound and all paths should be working yet nothing is displayed...chrome/ff4/ie8 wont show any anything.

Member Avatar for Akash Saikia
0
133
Member Avatar for rkayd

I have 2 separate questions. They are related so I hope it works to take care of both of them in one thread. I have this code that works fine for what it does: [CODE] <head> <script type="text/javascript"> function alertSize() { var myWidth = 0, myHeight = 0; if( typeof( …

Member Avatar for rkayd
0
136
Member Avatar for irphan

Hi this is irphan.I am using ckeditor for updating the value into database using php my code contain javascript tags like this .... <script="text/javascript"><a href="costs_prices_rates_book_editing.php" onmouseout="turnoff('pic2')" onmouseover="lightup('pic2')"> <img alt="Get a FREE Book Editing Sample" name="pic2" src="images/pricequote.jpg" style="border: 0px solid; width: 215px; height: 51px;" /></a></script> when i am writing this code …

0
38

The End.