20,316 Topics
Hello! I got the following code from another site but it doesn't do nothing it only shows & ables me to fill in the speech but doesn't auto complete and that's just when i Need. [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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" …
I have to show records with checkbox in front of every row with pagination. If I check ALL checkbox then all checkboxes will select and if I go to next page then automatically all checkbox will be selected. As well as I can do process on selected records. How I …
Dear Experts, Thanks for your time. My application developed in 2003 asp.net and C#, there are some important java scripts these scripts are working in IE but when i tried in Firefox, Google Chrom, it does not work. [B]WHERE I AM WRONG IN CODING ?[/B] [B]Important[/B] When i try to …
Hi Guys, I have a problem here. I can't manage to get the slidesshow display on my aspx. After a few tried. take a look at tis link. [url]http://www.serie3.info/s3slider/[/url] I m trying out this link and many people say it works. But still I failed to display.. mycode: [CODE]<div id="slider1"> …
Hi, I want to zoom the uploaded images.I have code to zoom 2 - 3 images.. Each image user uploades has to be zoomed on mouse over. Can anyone tell me how to do this Thanks, Shwetha
Hi there, quick question. I am reading a book about javascript and the author doesn't seem to like quotes ("") at all, but he loves angled brackets (<<>>). what really strikes me is that it looks like he uses them instead of quotes. FOr example I would say: [ICODE]alert("Hello WOrld!");[/ICODE] …
Hi I have developed an website with drupal 7.10. I want this should be in bengali language. everything is ok but problem with numerical system. for example: date,time,points etc. Now I have decided to add java code at the bottom of the theme. so that after loading the page javascript …
So i though how i can get the information that i want but i dont know how exactly to do that. I will have two functions one is rating(id) and one users(id), where the id is the [COLOR="Red"]tt1842127[/COLOR] of one imdb movie web page for example this [url]http://www.imdb.com/title/[/url][COLOR="Red"]tt1842127[/COLOR]/ I searched …
I'm learning JavaScript, and want to know how I can run / test code on windows? I also want to download the library. Can anyone assist me? Thanks
hi, i want to load data after loading related php page. i used ajax and even jquery. jquery was not sure this is jquery code [CODE]$.post('<?php bloginfo('template_url'); ?>/bk_page/schedule_check.php', "", function(data) { $("#fieldsetConfirm").html(data);}) [/CODE] but this and when i was using ajax it changes data, but unfortunately, the pay now button …
Hi everyone, I've created a function for calling .js files in <head> but it's not working properly. The reason why is this function necessary is that I want to include different .js files in different pages or remove some If I don't need them. [CODE]function get_scripts($array, $dir) { $count = …
may peace on you ! Guys i am stuck in a query i want to get the value of row when a image in that row is clicked.so the purpose of update by getting that row id.i got the code below but it get me the row# and col# not …
hi , this is my code. i want to return data using a php page after processing a query within it. [CODE]$.post('check_booked.php', { room:roomv, srtdate:sdatev, eddate:sdatev}, function(data){ alert( data); });[/CODE] before completing php page i test using online code which returned nothing.. i don't know what wrong, as i have …
Hi I have made a code in php, 1) Now the action is on the click of submit button, can i submit it using the keyboard input enter. <td><input type="submit" value="LOAD NEXT AND SAVE" name="loadnextsave"/></td> 2) To open a new page can i use the keyboard shortcut key instead of …
Hi, I want to insert various images (slideshow) as a banner, here's the code: (i think it's ok) [CODE]<?PHP $dbhost = 'localhost'; $dbuser = 'root'; $dbpass = ''; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); $dbname = 'destaques'; mysql_select_db($dbname); ?> <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> <script …
I have 2 arrays and I would like to compare the 2 arrays. If an element in array 1 is NOT in array 2 then I would like to display that element. In this case, I should only display the letter "c" but it doesn't work and I don't know …
[CODE][ {"source": "app/assistants/stage-assistant.js"}, { "scenes": "first" , "source": "app/assistants/first-assistant.js" } ][/CODE] [20111217-21:54:46.317499] info: =========> Calling palmInitFramework506, /usr/palm/frameworks/mojo/mojo.js:142 [20111217-21:54:46.638557] info: Requested submission : 506 [20111217-21:54:46.640486] info: Current locale is en_us [20111217-21:54:46.892087] info: sending event 'mojo-event-activate' targeting element 'undefined#<no id>' [20111217-21:54:46.893487] info: sending event 'mojo-window-activate' targeting element 'undefined#<no id>' [20111217-21:54:46.936206] error: Uncaught …
My website's performance has decreased. My website needs 13 secs to download. So [COLOR="Green"]i want to combine js scripts to one script.[/COLOR] But i don't know how to do it. Please tell me very easy ways to combine js scripts to one.
I don't know javascript very well... I have a form with the name register_group and a radio button for pc_parade_float with yes/no options. I want to display a different comment depending on if they clicked yes or no in the radio button. The code I have is as follows: [CODE]<script …
<form name="content" id="content" action="../cgi-bin/upload.cgi?upload_id=" method="POST" enctype="multipart/form-data" onsubmit="setValueforHidden(this)" target="xupload"> when the user presses the submit button(after form valdiation was over ) i have called the below api. function StartUpload(f1) { var UID = Math.round ( 10000 * Math.random () ) + '0' + Math.round ( 10000 * Math.random() ); f1.action = …
I attempted to add new row but it does not seem too work. Did I do something wrong? [B][U]Pricing.html[/U][/B] [CODE] <HTML> <HEAD> <TITLE></TITLE> <SCRIPT SRC="jquery-1.7.1.js" LANGUAGE="text/javascript"></SCRIPT> <SCRIPT SRC="addRow.js" LANGUAGE="text/javascript"></SCRIPT> </HEAD> <BODY> <TABLE> <THEAD> <TR> <TH bgcolor="#33CC00">Select</TH> <TH bgcolor="#33CC00">Quantity</TH> <TH bgcolor="#33CC00">Inner Packaging</TH> <TH bgcolor="#33CC00">Quantity</TH> <TH bgcolor="#33CC00">Outer Packaging</TH> <TH bgcolor="#33CC00">Price</TH> <TH bgcolor="#33CC00">Minimum …
Hey Is it possible to run a Java Servlet that loads a .html page that has a bunch of JS scripts in it? I know how to load a normal .html page (I believe it is correct) but not sure if it works if it has Javascript as well. Thanks.
[CODE]function ValidChkBox(source, args) { //var pnl = "tabContainer_tabPanel" + Pageno + "_MultipleChoice_" + ElementID; var chkChoiceList = document.getElementById('<%= chkChoiceList.ClientID %>'); var chkChoice = chkChoiceList.getElementsByTagName('input'); for (var i = 0; i < chkChoice.length; i++) { if (chkChoice[i].checked) { args.IsValid = true; return; } } args.IsValid = false; }[/CODE] [QUOTE]The aboue coding …
Hello all. I'm trying to figure out the javascript so that when I hit the total up order button, it will fill in the subtotal, PST, GST and give me my total in the box above the total up order button. Can some help me out? Thanks in advance. [CODE]<!DOCTYPE …
I have this function that seems not to be working. If I click on the send order button and the first name field is not filled, it should say first name not entered. But it's not. I put comment in the javascript where I'm tring to fix. Thanks in advance. …
Hi, Am finding 1 diffculty in jtable pls help me... i want to set jtextfield value in jtable of particular column and also that jtextfield value will be dynamically changing... even i have tried the below code... [code]String mn=jTextField2.getText(); jTable3.getColumnModel().getColumn(1).setCellEditor(new DefaultCellEditor(mn));[/code] but its not working...
i have a sortable list. when the user rearranges an item, i should know what was switched with what. i dont want an array. i just want which element switches with which. each list item already has a unique ID.
I am looking to recreate a form function like this website: [URL="http://www.plus.approvedtelephonesystems.co.uk/UK/questionnaire7/uk-companies.aspx?gclid=CLSH-eTeg60CFQUhtAodyhSNTg"]http://www.plus.approvedtelephonesystems.co.uk/UK/questionnaire7/uk-companies.aspx?gclid=CLSH-eTeg60CFQUhtAodyhSNTg[/URL] What happens when you click the answer to the question the form scrolls to the next function. I would love to know how this is done. I am not a javascript developer but having looked into this the …
Hi all. Im new to JS and would like to note the following case: Ive run the following test numerous times ie: [CODE]<html> <body> <script type="text/javascript"> var s = 0, o = 0; for (a=0;a<=10;a++) { var start = new Date().getTime(); var res = 0; for (b=0;b<=100000000;b++) { res = …
Can anyone please help me do this with javascript [URL="http://uss.feri.uni-mb.si/images/Vaje/vaja10/slika08.png"]Screenshote[/URL]? It must be written like this. User inputs rgb color for first column (green,red,blue) and inputs number of columns. Then this must be in linear fading and every column has to have popup window with that rgb color. If anyone …
I have incorporated some excellent CSS/Jquery functionality into my site, but i'm having trouble editing the CSS to make the presentation more flexible. The CSS builds a container, into which I can insert text and call via Jquery. I am using this for my help function. CSS also overlays an …
here is what i have so far: on website load, a bunch of items are add to a list in an order given in an order section of a database. i can move the list around because the list is "sortable" (jquery). what i need: the user rearranges (sorts) the …
I'm having trouble making the following code work. I'm trying to change text in "columnleft" with the showMess function, when I hover on the paragraph with the class "title." The really frustrating part is that this code has worked elsewhere for me. What am I missing? [code] <!DOCTYPE html PUBLIC …
Hey, I know this is a stupid way of doing it, hence the question..: How can i do this smarter: [CODE] if (($url == 'billeder') or ($url == 'billeder=1' or $url == 'billeder=2' or $url == 'billeder=3' or $url == 'billeder=4')) { include("includes/billeder.php"); } [/CODE] I just want to see …
Hi, I'm using this script [URL="http://www.daniweb.com/web-development/php/threads/68355"]http://www.daniweb.com/web-development/php/threads/68355[/URL] and i would like to know if it's possible to have the number like 1 000 000 instead 1000000? i found a function like this [CODE]function lisibilite_nombre(nbr) { var nombre = ''+nbr; var retour = ''; var count=0; for(var i=nombre.length-1 ; i>=0 ; i--) …
In a nutshell, my company is using several different programs that use a string of data regarding personal appearance information for different TV/movie character. This data need to be read in a very strict manner. (The following example is exactly how we need to input the information... including all brackets …
Can JavaScript capture menu or page navigation selections and use this to pull matching data from a remote server and insert it inside a div tag on the next page? I’m working with a 3rd-party catalog system that only allows adding one user descriptive header div block (i.e. the same …
Hi, I don't understand why this validation check isn't work, Everything is OK, but .... [code] <html> <head> <script type="text/javascript"> function valForm() { var x = document.forms["ActorForm"]["actorfname"].value; if (x == null || x == "") { alert("First name must be filled out"); return false; } } </script> <meta http-equiv="Content-Type" content="text/html; …
Hey, I have been playing around with the history.length property in JavaScript and have come across a bit of a problem I don't understand. On my localhost machine I have two pages - Page A and Page B that both have one line of script being: [CODE]document.write("Number of URLs in …
hi, i have two drop down list. First one is populated from database and its working fine. Second one will also be populated from database but as per the value selected from the first drop-down list. [CODE]<head> <script type="text/javascript"> function xyz_list() { // xyz_list is the id of ;;my first …
please, i need help with how i can make pictures scroll on a website's homepage, i believe javascript should be able to do that, such that pictures will be moving at the header. And will it be there while users navigate to other pages on the site? thanks.
Hi all here is my problem, I have a text area in html page containing a long html code. like [CODE]some code ..... ....... <input type="text" name="mobile" value="1234567890"/> some code ..... .......some code ..... .......[/CODE] From that code present in the <textarea> i need to extract following line <input type="text" …
I'm trying to print one line of text in my database code and i want it to print under a button i have made in html. [CODE]<button id="gen" type="button">Generate tables by clicking here!</button> <div id="response"></div>[/CODE] [CODE]$('#gen').click(function(){ $('#response').load('createtable.php'); });[/CODE] And this code appears in createtable.php [CODE]echo "Tables were set up correctly.";[/CODE] …
I have heard that AJAX is a way to get a page to refresh when a MySQL db has changed. Basically we have a log (that several users at a time could be looking at), when data is submitted it posts to the MySQL db. Instead of having the page …
Hello I was wondering if anyone might be able to help me? this is the jquery?I have two problems that I am hoping somone can help me with? What I am trying to do is when I click on a checkbox (#Facebook) it will display a div #widget-FB, and when …
Hello, I have a simple question regarding a dynamic page that shows new content in a hidden div depending on what image people click. below I have two separate pieces, one is an array that stores all the video's that are going to be displayed, and below that is a …
what is the use of \r in javascript,please explain with an example....
i am trying to code a chat app for my social network and i am using the following module .. [URL="http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/"]http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/[/URL] i have coded the rosters(manage who is online) for it .. but those rosters work only on login/logout .. on login it makes an entry for username in a …
Hi there, I am using a javascript command to show a message box in my web application since the MessageBox.Show() command won't work. The message box appears, however, it seems like it has navigated out of the web application showing the default grey background. How do I modify the code …
Heya all, I've got a really weird bug here at the moment. I recently uploaded a javascript file form my local dev machine to an IIS server, and it gave me an odd error: "truedocument undefined". When i looked up the line in my browser source code(the one you get …
The End.