15,688 Topics

Member Avatar for
Member Avatar for mroberts50

A number of different server-side programming languages are available. Which one of these languages is NOT one of these? PHP, Java, Ruby on Rails or ASP?

Member Avatar for Triztian
0
79
Member Avatar for jasonc31

I have found the following code and wish to have it do a POST instead of the GET can someone tell me what needs changing so this does a POST ajax.php [code] <?php if (is_numeric($_GET['client_id'])) { include("database.php"); $query="SELECT * FROM `client_addresses` WHERE `client_id` = '". db_input($_GET['client_id']) ."'"; $result=mysql_query($query); ?><select name="client_address"> …

Member Avatar for jasonc31
0
143
Member Avatar for gunnarflax

If I would have a simple function like this: [CODE]jQuery.fn.example = function(){ this.remove(); }[/CODE] and call it with an empty selector: [CODE]$().example();[/CODE] What element would then [B]this[/B] be pointing to? Or is there a way to make a function able to be executed through both [B]$.example()[/B], without a selector, and …

Member Avatar for lambing
0
284
Member Avatar for zippax

Hello everyone, In attachment File Have ziped file for Ajax Datepicker. The Code is working but i have some problem. if i want to use it with php, how can i know where is the $_POST name . Code : [CODE]<div id="widget"> <div id="widgetField" style="width: 290px; height: 26px"> <span>28 July, …

0
71
Member Avatar for techie929

I am reading a xml file and saving the data in array.But I am not able to use the array values later.I have declared everything as global. When I put an alert(myData[3]); I am getting "undefined".Please help. Below is my code: function modify_data(xml) { //alert("tyur"); $(xml).find('person').each(function(){ phone = $(this).find('phone').text(); email …

Member Avatar for hielo
0
92
Member Avatar for ffonz

Hi, I tried an example on [url]http://www.captain.at/howto-ajax-form-post-request.php[/url] for sending a POST form. When I run the example on that specific page, everything works well. Also in Wireshark I see the POST packet passing by. But I'm getting errors when I copy the code to a local html file, and try …

Member Avatar for hielo
0
185
Member Avatar for Kyamagero

Hello, How can I pass form data from a form on one page, to a form on another. Here is what I need exactly: I am working on the following website: [url]http://kleinstudiosinc.net/tntexterminating/[/url] There is a form in the header titled "Shedule Service" I would like a user to enter the …

0
47
Member Avatar for Cotillion

Hi all, The following script is a task I set myself to learn javascript, essentially there are several arrays containg keywords which, depending on the array, should highlight those words in different colours. The code works but I get an unresponsive script error and it's very slow. I think because …

Member Avatar for Cotillion
0
111
Member Avatar for ivan3510

Hi! Sorry for my bad english. How is made that toolbar on this site always stays on the botom of the page. (So, when we log in, on this site will appears toolbar. When we scroll down, this toolbar stay, it doesn't move anywhere, it stay on the bottom.)

Member Avatar for ivan3510
0
81
Member Avatar for aldm

Hi, how can i get password length on form in jquery? I get the password with this: var sifra=$("#input:password").val(); but when I want to check if password is entered and length is more than 6 characters, it doesn't work: [CODE] if(! sifra){ $("#sifra_p").show(); $("#sifra_p").html("Niste unijeli Å¡ifru!"); greska=1; } else{ if(sifra.length …

Member Avatar for aldm
0
100
Member Avatar for eludic

I am absolutely newbie to Ajax and I need to have this fixed by tomorrow as I have a project to complete so anyone who could help me, I would be really greatful! This is what I have cooked up so far index.php [code=php]<html> <body> <script language="javascript" type="text/javascript"> <!-- //Browser …

Member Avatar for eludic
0
1K
Member Avatar for samarudge

Hi, A site I'm developing loads new pages via AJAX, to allow people to share the links we use a hashtag to track the URL E.G. User is on example.com/page1.html User clicks on link to example.com/page2.html page2.html is loaded dynamically and the URL is set to example.com/page1.html#!/page2.html That all works …

0
184
Member Avatar for arctushar

Hello I want that by clicking in button one more textbox will be add in form and that form data will be stored in mysql. How can I do that. For example I have a form having 3 text field named text1,text2,text3. I want that visitor can add text4,text5..... and …

0
67
Member Avatar for raul8

Although calender is displaying properly, when I comment mycal.hide(). But it is not working on button click. [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" /> <title>YUI Calender</title> <link rel="stylesheet" type="text/css" href="build/calendar/assets/skins/sam/calendar-skin.css" /> <script type="text/javascript" src="build/yahoo-dom-event/yahoo-dom-event.js"></script> <script type="text/javascript" src="build/calendar/calendar-min.js"></script> <script type="text/javascript"> YAHOO.namespace("yuibook.calendar"); …

0
61
Member Avatar for Naesar

Hey, Just having a few problems with a few of my landing pages and was wondering if anyone knows how to fix them or can help me find a link with the solutions. 1. How do I make the landing pages work in all browsers. For example, my pages work …

Member Avatar for lambing
0
73
Member Avatar for cocoll

hello! is there something in javascript to make sure that the page is completely loaded and the i execute a function in javascript. because i have a web page that i have an image slider,so if i open this page in same page before (window.location="source") so the page is loading …

Member Avatar for lambing
0
91
Member Avatar for hari.sarvothama

Hi, I have a $.ajax call in my jquery function. I want to access the value returned from the server(php) to be accessed in jquery function. Hoe to do this?? [code] setTimeout(function(){ $.ajax({ url: 'ajax-validation.php', data: 'email=' + $('#email').val(), dataType:'text', type: 'post', success: function (resp) { if(resp=="Email is available")/*This does …

Member Avatar for lambing
0
251
Member Avatar for 87vikas

Hello, I have a problem regarding how to implement dynamic dropdown in which values for 1st dropdown will come from MySql database and the values of second dropdown will come from the MySql database on the basis of selected first dropdown value. I dont know Ajax. I need code for …

Member Avatar for geo007
0
88
Member Avatar for jonsan32

I'm trying to get a flash banner to work on my website (on blogspot). I have another flash banner with a swf file going, but I can't install another that is created by a program called Anim-FX. They've given me an html file, a swf template, and a text file. …

0
74
Member Avatar for mroberts50

When I hit the button in my program the button does not work. How do I get the message to point to this url "http://mweisfeld.1upware.com/joke.txt" when I hit the button? Thanks [CODE]<html> <head> <title>Ajax Joke of the Day Application</title> <script language = "javascript" type = "text/javascript"> var Request = false; …

Member Avatar for mroberts50
0
138
Member Avatar for jonsan32

I'm trying to search for the correct code to make my form work. I have 3 select boxes - one with 2 options, one with 8 options, and the last with 2 options... All of this adds up to 32 different url paths. Can anyone tell me how to get …

Member Avatar for jonsan32
0
152
Member Avatar for akshayinbox

Hello. I don't know any code of Javascript. I programme in PHP. I grabbed this piece of code for javascript timer: [CODE] <form name="counter"><input name="d2" type="text" size="8" style="font-size:72pt; border:none; font-family:Verdana; color:#00BFFF; text-outline: 1px 1px #009ACD;"></form> <script> <!-- // var milisec=0 var seconds=<?php echo $s;?> document.counter.d2.value='0' function display(){ if (milisec<=0){ milisec=9 …

Member Avatar for akshayinbox
0
223
Member Avatar for liyakat

Hi, I have a javascript which updates price and unit from mysql database. The option onchange event calls 2 javascript functions each one for price and unit. The code works fine in IE, but does not work correctly in firefox. Below is the code, can anyone suggest! [CODE] <html> <head> …

Member Avatar for Graphix
0
137
Member Avatar for JBLDW

Can anyone help with the error shown below? - I have looked at the code of the script and realise that it is being generated by there being no valid id. So... I changed the details to provide a valid id (did not work), then matched all the details up …

Member Avatar for hielo
0
294
Member Avatar for Tcll

I'd like to know how to write a downloads counter that changes a var in an external .js file?? the var is named after the id of the textbox that displays the number held within that var... eg: external file:[CODE]var txtbx = 0[/CODE] html:[CODE] <script type="text/javascript"> count() //writes the increased …

Member Avatar for Tcll
0
804
Member Avatar for himmat.m4

Plz tell me, how to remove particular value from input text in jsp by using javascript. [CODE] <script> function findSeat() { alert("hi") document.getElementById("sam").value.removeChild(SEW1); alert("remove") } </script> <input type="text" name="txtSam" value="SEW1" id="sam"/> <input type="button" value="Click Me" onclick="findSeat()"/> [/CODE] By Himmat

Member Avatar for peter_budo
0
59
Member Avatar for Katana24

Hi, I would like to learn java-scripting. I have a Mac, version 10.6.4 and I know that I can use the built in "AppleScript Editor" application for it. But I can't get the option to change the language to "Javascript" even after moving the "JavaScript.component" to the "Components" folder in …

Member Avatar for Katana24
0
116
Member Avatar for brown23

Hey Guys, I'm really stuck on how I can have the visitor change the style of the content on my webpage. I've looked into stylesheet switcher, but that changes a whole stylesheet, when really all I want users to be able to change is their preferred background color, alignment, font …

Member Avatar for george61
0
114
Member Avatar for kavya_nayak7

Hii, I need help regarding information on how to pass information between two pages using javascript.In my web page,I type in the information and when i submit the information then the registration successfully happens and page gets redirected to a different web page where i need to display some of …

0
55
Member Avatar for iketunde

I have a php page with two hyperlinks. I one to send email to certain addresses and the other to also send emails to another address and also delete their records from the database. I don't want a case where the user accidentally clicks on the link takes the wrong …

Member Avatar for mohammed yaghi
0
2K

The End.