15,688 Topics
![]() | |
Hello, I am new to javascript. I am trying to get the cell values of a html table in the following way, but I am not able to increase the variable dynamically! Does any one see where is my problem Sorry for my english!! [CODE] function validateRow(frm) { var oTBL … | |
Hi Expert, I'm currently using the javascript as follow to display a greeting message based on visitor's location, as follow: [CODE] <script language="Javascript" src="http://www.ip2phrase.com/ip2phrase.asp?template=<CITY>, <COUNTRY><FLAG> - Welcome to my site!"></script> [/CODE] from [URL="http://www.ip2phrase.com"]http://www.ip2phrase.com[/URL] It works, but now i would like to have the auto translation for the phrase "Welcome to … | |
I'm sure this has an easy answer, but I don't know it. so I have a widget that will let you get alerts texted to a phone. I am trying to store the info, but I can't get the user's input into my javascript function shown below: [CODE]onClick="collect('info', 'nname=' + … | |
Hi all, I am completely new to Ajax, I need to create Telephone directory. Telephone numbers and phone are in database, I designed UI like two text boxes for search by name search by number. I have one div which displays the search results. It is a J2ee application, I … | |
The JavaScript logics below doesn't display the value from the demo_get.txt in ajax.html. Did I do something wrong? [U]ajax.html[/U] [CODE] <HTML> <HEAD> <script type="text/javascript"> function ajaxRequest(){ var xmlhttp; if(window.XMLHttpRequest){ xmlhttp = new XMLHttpRequest(); xmlhttp.open("GET","demo_get.txt",false); xmlhttp.send(); document.getElementById("panel").innerHtml = xmlhttp.responseText; }else{ xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); xmlhttp.open("GET","demo_get.txt",false); xmlhttp.send(); document.getElementById("panel").innerHtml = xmlhttp.responseText; } } … ![]() | |
Hey everyone, I have a bit of an issue....I have a link: [CODE]<span class='deleteimg ui-icon ui-icon-search' style='cursor:pointer;margin-left:24px;' onclick=DownloadAssetPath();></span>[/CODE] I have a jquery function: [CODE]function DownloadAssetPath() { var link = "/Controls/Advertiser/Ads.ashx?Download"; window.open(link); }[/CODE] and I have a private void in C#: [CODE] private void Download() { String FileName = "webSitePlan.txt"; String … | |
suppose i have div which has a class called "suf-text", and there could be other class names like "suf-gang", "suf-hub" .. so on.. i want to trigger an onclick even on these divs. i actually don't know how to do it.. would following do? $('body').find() but does find() need an … | |
Hi, Im having difficulty getting my form contents to send to my php page using ajax, jquery and json. The results just doesnt want to show. My javascript, where I create the JSON object and try to send it through to the php page: [CODE] var JSONobj; var JSONstr; function … | |
In this code i want to pass all the three red color code textbox value to a javascript function and print there. <?php $userid="123456789123456789"; $con = mysql_connect('localhost', 'root', ''); //Update hostname mysql_select_db("video_upload", $con); //Update database name //echo "--------".$viewall = $_GET['viewall']; //Display image $rs=mysql_query("select * from video "); while($row=mysql_fetch_array($rs)) { echo … | |
Hello, Check the code is given below:- [CODE]<ol style="font-family: Arial; font-size: 12px; text-align: justify; width: 486px; line-height: 20px;"> <li><a href="#A" onclick="javascript:document.getElementById('A').style.display='block'">A</a> </li> <div id="A" style="overflow: auto; height: 100px; width: 500px; display: none; background-color: #e0eeee;"> <p style="font-family: Arial; font-size: 14px; text-align: justify; line-height: 20px; color: #700000; text-decoration: none;"><a name="A">A details</a></p> <ol … ![]() | |
Hi, I have javascript which counts seperately every time 2 seperate buttons are clicked, this then outputs the amount on the same page. This works, however I am now trying to add a third value to output on the page which is the total of the clicks which i would … | |
I would like to place a footer at the bottom of my DHTML web page. The simple footer tag doesn't do what I want because the text in the footer is simply placed underneath the current text on the web page. What I want s for the footer to stay … | |
Here is one code of php 2 dropdown and one button i down want button, and use ajax in dropdown..... how can i do it? <?php require_once("includes/ReadAllXML.php"); $to_plaza_poi = array(); $from_plaza_poi = array(); $hasMessage = false; $row1 = ""; $row2 = "0.00"; $row3 = "0.00"; $fromPost = ""; $toPost = … | |
How can I execute this: From the dropdown list build up from mysql database (say a list of fruits). I select "Add New Fruit". This triggers it to either have a modal form to add new fruit or a table form. Once submitted, Select dropdown list RELOADS including the newly … | |
Hello I am developing a website using ajax, php,javascript and html for a grocery. Product code is entered in a textbox 'txt_code' and upon clicking on 'Retrieve' button, the product details, quantiy and price is dispalyed(this is an ajax code). The product price, product code and product descripion are retrieved … | |
Hi, anybody tell me how to display alert message which is in utf-8 format. Thank's in advance. | |
Hi, I want to call java function in javascript. In which we pass one parameter to function and its returns String value which I want to display in alert message. So please help me..... Thanks in advance | |
Hey, I have the following code: I am trying to make it so when you tick the box it changed the result to what you clicked, then if you untick it it changes the result back... There will be multipal tick boxes on a page... Here is my code... [CODE]<script … | |
[IMG]http://i1235.photobucket.com/albums/ff429/rakwel10/pix.jpg[/IMG] The picture above may not be that clear but this is my website created in Wordpress. As you can see, the slideshow is messed up. When the first slide will show up, the next slide is showing too under the first slide. When I try to zoom out the … | |
was trying the drag and drop feature in html5. I have three blocks(boxA,B,C). Items are moved from box A to B or C. The problem is [B]when i move items from A to B, Box A doesnt retain the object [/B](instead of copying, it just moves the object). I have … | |
hello all, after tried so much now posting here. i have two programs sql.php and form.jsp. i want to do insert values into mssql database from user input form. sql.php is able to insert the values into database. i have connected database using ODBC.form.jsp is able to give user input … | |
Hey Ive been given a JavaScript program (with embedded in a HTML) with several (from what Ive seen) free libraries. For example: excanvas.js jquery-1.6.4.min.js prototype.js colorpicker.js This JavaScript program (using those and other free libraries) to draw something like this: [img]http://img339.imageshack.us/img339/3997/dibujoajyu.jpg[/img] As you see the dots, beside having a X … | |
Hi.. I'm new to AJAX and I'm attempting to use this webservice ( [url]www.webservicex.net/CurrencyConvertor.asmx?op=ConversionRate[/url] ) in my html page. Now I've managed to make a form and stuff to correctly call the webservice, but then, I do not want the answer to be displayed as just the output xml data. … | |
I have a simple web login application that requires a user to login to view the next page. The login page is HTML and when you click "Login" is goes to a PHP page to check the SQL Database. If it succeeds it goes to another HTML page. I want … | |
Following is my code and I'm not able to write insert query and upload file. [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=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.js"> </script> <script src="http://cdn.jquerytools.org/1.2.6/full/jquery.tools.min.js"></script> <!-- This JavaScript snippet activates those tabs --> <script type="text/javascript"> … ![]() | |
Hello. I have a very important question. I am currently attempting to create a Javascript file to test the HTML5 File API. First of all, I want to dynamically obtain a local file using Javascript and Google Chrome. I have succesfully done that by using a function which returns a … | |
Hi there, I'm sure there is an easy way to do this so let me ask. I have an "admin" page full of video thumbnials that I want to allow the user to sift through and pick which videos should be enabled or disbaled. To keep with current trends I'm … ![]() | |
Could someone fixed this codes, i want the value inside the text fields will empty after submit the form.. huhu...:?: [CODE]<script type="text/javascript"> $(document).ready( function() { $('#submit_id').click(function(){ doUpload(); }); $('#uploadprogress').hide(); }); function doUpload() { // STEP 2. Create the iframe object var iframe; try { iframe = document.createElement('<iframe name="uploadiframe">'); } catch … ![]() | |
hello, i have client server program, problem here is that the client program cannot receive message sent from server. the server is working fine, can send and receive, but the client only can send, unable to receive. please help me, thank you very much here is the client code: (richTextBox1 … | |
Hi , I want to make a script in jquery when I click on a link to appear a message. My code is below [CODE] <fieldset class="fild3"> <legend>links</legend> <a href="" id="ca_125">CA-125</a><br> <a href="" id="ca_153">CA 15-3</a> </fieldset> <fieldset class="fild2"> <legend>info</legend> <span id="ca_125" class="ca_125"> <p>CA-125 </p> </span> <span id="ca_153" class="ca_153"> <p>CA 15-3 … |
The End.