20,316 Topics
I am having a small problem with getParameterValues function and my algoritm. Before I will explain how is my data table showed: [COLOR="Red"]| value1 | value2 | TextArea | CheckBox | [/COLOR] Then when I check any checkbox and press submit it call other servlet and read the parameters : …
Hi im zee and i'm new to javascript.. The javascript function below..examines if a string value contains only numbers.. My problem is..I can't figure out why it doesn't continue with the 2nd loop and iterate j..please help.! [CODE]<script language="javascript"> <!-- value = "23e"; isNumber(value); function isNumber(value){ document.write('I'm inside the function …
After weeks of getting a javascript to work the way I want it to, I am informed by the company that hosts my web sites that they want more money for me to have the .js file functional on the server. I am not a coder, nor do I have …
I need to implement a recordset navigation bar(preferably as an arrow graphic) to scroll through a recordset from a database. I tried searching on the web, but I did not find any HTML/JavaScript to do the same. I found a lot of material to implement it in Dreamweaver. I dont …
Hi all, I have been on this now for two weeks. Very much a neewbie. Despite following Googles own instructions to the letter I just can't get the analytics cookie working on the following page: [CODE]<?php $filename = {name}; $filesize = filesize($filename); $filetype = substr($filename, -3, 3); switch($filetype) { case …
Hi, I have a hidden DIV, which is going to cover all of the screen as part of a lightbox. I wrote my code based on what I found at docs.jquery.com/Tutorials:Basic_Show_and_Hid . When I click on the link to run the lightbox, the div isn't showing even through the z-index …
[B]INTRODUCTION[/B] Have you ever wanted to pass data from one web page to another when server-side scripting is unavailable, and without setting a cookie? Ever wanted an efficient way to build url query strings? Well now you can. [B]SOLUTION[/B] It is maybe little realised is that data can be successfully …
I've been having trouble with a seemingly simple function...I have a form where 3 of 5 field values are generated by a script tied in with Google Search (like a business address). The user is prompted to enter their business license #, and as soon as the input field has …
Hey, how's it goin I'm trying to write a simple if statement with jQuery...it looks like this [CODE] if ($('#title .general').length == 0) { function() { $('#ubi').empty(); $('#address').empty(); $('#city').empty(); $('#region').empty(); } } [/CODE] First off, i'm getting an error in firefox that has "syntax error" function( ) { } -----------^ …
Hi, Everyone!! I'm really new in this business and I've been having some trouble with these errors: ====================================================================== Message: Object expected Line: 1 Char: 1 Code: 0 URI: [url]http://www.myblog.com/successblog/[/url] =================================================================== Message: Expected '}' Line: 707 Char: 301 Code: 0 URI: [url]http://www.myblog.com/successblog/[/url] ================================================================== Message: Expected '}' Line: 738 Char: 301 Code: …
I want to matching addresses, without necessarily displaying them on a map by using Google MAP. For example : [CODE]<input type="text" name="drop-off" id="drop" style="color:#666666"/>[/CODE] the customer will enter like this in the texe field : 10 Abbe......., then autmatically the address appear like this for example 10 abbey st and …
i have a bookin system with a drop down menu for day, month, and year... i have validated them so as to alert the user when entering in past dates. however it still keeps the value of the past date instead of keepin the current date. this is a section …
i presently have a text area which is generated using two arrays.It is loaded at the screen load. It is as following. var channelsGroups = new Array(); var channelsChildren = new Array(); channelsGroups[0]= new Array('Mars Public', 'MARS-PUB'); channelsChildren[0]=new Array(); channelsGroups[1]= new Array('Mars Private', 'MARS-PRIVA'); channelsChildren[1]=new Array(); channelsGroups[2]= new Array('Internet Booking …
Hi, I'm sure this should be easy, but just can't work it out. I have a select dropdown with several options. The user selects an option and fills out the following few fields. If the user then changes his mind and changes the option in the dropdown, I want all …
Am developing a web application how can I automatically capture my users gps coordinates when they have filled in their location address on the fly. thx
Hello, Can any one please help me to know how can we highlight the required fields using JQuery? For Ex. I have a form with several fields on it. In that there are 2 required fields. Now, if the user leaves these fields empty those textboxes should be highlighted in …
Hi, I am developing a login system in my web site I am using php and mysql. In this I want to add some creative user interface like... When user click on login link then a pop up ( not separate browser window , Just creating one with jquery ) …
How to get the ful path of a file during file upload in google chrome.. i am getting only the file name and not the full path... plz help me to fine the solution Very urgent................
I am trying to create a music web player that changes song automatically, however the song is instead repeated and whenever next is click, and some codes are executed to stop the current song and start the next, the current song pauses for about 1 sec instead... can some please …
Hi, I am looking to be able to display errors from my forms or whether the email address is already taken on the same page. My script is shown below: [CODE] if(isset($_POST['subregister'])) { require_once('../sign-up/recaptchalib.php'); $privatekey = "Hidden"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { // What happens …
there is table : <table> <tr bgcolor="F3F3F3"> <td align="right" width="240" class="tickerSm">reportdate</td> <td align="right" width="65" class="tickerSm">10/31/09</td> <td align="right" width="65" class="tickerSm">10/31/08</td> <td align="right" width="65" class="tickerSm">10/31/07</td> <td align="right" width="65" class="tickerSm">10/31/06</td> <td align="right" width="65" class="tickerSm">10/31/05</td> </tr> <tr bgcolor="ffffff"> <td class="tickerSm">Cash & Equivalents</td> <td align="right" class="ticker">2,493</td> <td align="right" class="ticker">1,429</td> <td align="right" class="ticker">1,826</td> <td align="right" class="ticker">2,262</td> …
Hi all. I've tried to make a simple hover effect about small images but it won't work. I also tried to make the following script: 2 seconds after page loading image1 changes 2 seconds after that image1 returns to back state and image2 changes and etc. Can someone help? Best …
Can anyone tell me how to position the mouse cursor at the beginning of some text I have inside a text input (some hint words in italics), instead of at the end of the words? It's one of those text hints that will disappear once the user begins typing. I've …
Hello. I have a search engine form that is not ajax and it refreshes the page on search. I was wondering if it is possible to type a onclick code where it will contain my php script for the search engine by when you search, it'll send show the result …
I have spent days trying to get this web page to function as intended. If I have the .js in a separate file and reference it from the web page <head>, the page works fine. However, once it is embedded instead, nada. This is the entire web page coding, including …
I was wondering if anybody would be able to help me insert a confirm delete popup window that closes after submit. here is what i have so far [B]index.php[/B] [CODE]} //delete tool button actions if (isset($_GET['deletetool'])) { $id = mysqli_real_escape_string($link, $_POST['id']); $sql = "DELETE FROM tools WHERE id='$id'"; if (!mysqli_query($link, …
i created one blog . In that i put other site links . When users clicked that link it opened in the same tab . i need html codings to open in another tab if users click that link . please help
I have this gallery that uses that ipad / iphone swipe from [url]http://www.simplesli.de[/url] but on the iphone and ipad he swipe is a little hard to activate and it doesn't starting moving when I swipe like it has no feedback when my finger is moving across. Does anybody know if …
Hi all, basicly, I'm writing some code so that when a user clicks on an image, a div will be displayed where the user has clicked. My jQuery code isn't working, so wondered if anybody knew how to fix it. All of this is in my document.ready() function. [CODE] $("img.image").click(function(e){ …
When loading my web page I'm getting this error "stack overflow at line 0" What can be the reason for that? Is it related to the images I'm using in my site? Thanks S.M
Hi there, I believe I am having trouble with the response that is received by the Ajax request. I have posted something similar to this but the response returned was XML not plain text (or html). I am guessing this should be easier but I can't figure out or find …
I am writting a large if / else tree in an existing website. My include libraries have to be put into the html program using a scripting language called SpeedScript. These includes bring in the login data that I am testing in my if tree. Instead of using the if/else …
Hey, I'm trying to make a way for the user to click a link in an email agent and the submit button (previously hidden by css) and it then becomes unhidden. [code=javascript] function showSubmit() { var submit = document.getElementsByName("submit"); if (submit.style.display=="none"){ submit.style.display="inline"; } } [/code] Then the html: [code=html] Click …
hi, i'm a newbie programmer and i just built a website with a poll. the page is completely in html and linked to the php script processing the poll result in the action attribute of the form tag. my problem is the results of the poll comes up in a …
Hi friends . recently i create one blog for music . i want to knw how to add the Songs in blog for Online hearing . . . please help . . . i searched one day and did not found . please help
Tank Farm. Petroleum is usually stored in large circular tanks in tank farms. Our company has several of these tank farms. Each of our tank farms is 320 metres by 240 metres. Each of our tanks is 19 metres in diameter. We would like to write an HTML 5.0 application …
Hahaha!! I never thought there is this section where I can introduce myself. I thought daniweb is just a forum full of geeks with no life. hahaha! I'm Just Kidding!!! :twisted: So I'd like to introduce myself to you guys because these past few weeks I started to be active …
Hi, this script work im Crhome, but not in IE, or Firefox, please help me!! <!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>teste</title> <script> function idade(object, birthDay){ now = new Date(); bD = birthDay.value.split('/'); if(bD.length==3){ born = new Date(bD[2], bD[1]*1-1, bD[0]); …
hey all i'm new to this all and was wondering if anyone can help me solve a prob i'm havin with my project for a booking system. i have a drop down menu with the day, one for months, and finaly year... all the values are real time dates but …
hey all, i found a way to click a link and load it into a div. the only problem is that i keep getting the "AHA error" from the if statement in my div. i'm not sure if it is me or the coding but i'll post what i'm using …
I print the following webpage with Firefox & Chrome: [url]http://en.wikipedia.org/wiki/Final_(Java[/url]) Both hardcopies of the long line "public static final double PI = 3.141592653589793; // this is essentially a constant" is cut off. i.e. the line does not wrap around. Both Firefox & Chrome display that line on screen in one …
<script> var counter1 = Math.abs(5/160); var output = counter1; alert(output); var counter = output.split('.',1); alert(counter); </script> when i run this code i got the error in firebug.. split is not a function.?
Hi all i have a radio button list with two values 1.public 2.private. I want certain rows of my table to be visible, when radio button value is changed to public whose visibility is set to false. I can easily accomplish it through SelectedIndexChanged event but that will cause page …
hi friends, I m new to javascript and asp.net . Is anyone knows what is the exact problem? [CODE] // This is asp.net snippet <marquee id="marqueeLeft" class="marqueestyle" direction="up" onmouseout="this.start();" onmouseover="this.stop();" scrolldelay="500" style="height: 99px; width: 100%;" > <asp:PlaceHolder ID="LeftPlaceHolder" runat="server"></asp:PlaceHolder> </marquee> [/CODE] When I moved the pointer to this <marquee> tag. …
Hello everyone, I am currently creating a small JS app. that will help me search PostgreSQL and print related data via PHP. I am using jQuery to help me but I have this small problem. I wanted to test if the code worked, by prompting the PHP file to print …
Hello everyone, I am trying to retrieve some data from PostgreSQL using jQuery and PHP. I should be able to enter a date as input -e.g, as 2010-08-09 and retrieve all the data that is dated August 9th- however, when I execute my javascript, all I get as an output …
Dear ALl I have recently made some forms using javascript (up until then I ususally did so in php). I have some simple user validation - required fields, correct format for email etc etc When submit is pressed a simple php script operates to send the detail in an email …
here an ajax code with javascript I just want to understand the algorithm as I'm very new :) here is the code [CODE] function check() { if (!checking) { id = getId(); if(!isValidId(id)) return; checking = true; $.ajax({ url: '/getit.php', data: 'id=' + encode(id) + "&t=" + getRandom(), cache: false, …
Hello, I am having a little trouble getting the variable $total to insert into mysql table. I used javascript to get the total that is in the input box. Any help is very much appreciative. Here is site: [url]http://illcomputers.comyr.com/custom.php[/url] Thank You Snippets of Code JavaScript Code [CODE] var mainitems = …
Hi, I'm trying to determine a better method of finding the index value of a form element. I need to find it because the JavaScript validation class has a function for validating a single form element, but it requires that the index number of the element in the form be …
The End.