15,700 Topics

Member Avatar for
Member Avatar for fielding

Howdy, I'm trying to hide a few css elements until a form has been completed. We have a ecommerce site we need to hide the price and 'add to cart' until the user has submitted their e-mail in a text form. Any help would be appreciated!

0
58
Member Avatar for fielding

How do i go about making these multiple scripts work on a single page? [CODE] $(document).ready(function() { var str = ""; $("select option:selected").each(function () { str += $(this).text() + " "; }); $(".display_text_here").text(str); }) .change();[/CODE] This one i would like an IE conditional [CODE]$(document).ready(function() { $(".select") .mouseover(function(){ $(this) .data("origWidth", $(this).css("width")) …

Member Avatar for fielding
0
92
Member Avatar for barryw33

Hi, I am trying to sign off a website but have one final obstacle to overcome and then all good. the problem I have is I have private chat on a dating website. the site is in russian and english. the php page for the chat needs headers so that …

Member Avatar for barryw33
0
144
Member Avatar for jaydee123

I have a very simple flash program that plays music. It consists of a play pause button and a timer that shows the current position of the song. I'm trying to make it possible to pause or play the song using a regular form button. [CODE]<div class="musicplayer_playpause"> <script type="text/javascript"> AC_FL_RunContent( …

Member Avatar for ShawnCplus
0
104
Member Avatar for canadatom

Hi Guys, I am new to Ajax, I am trying to output results by using perl script calling from Ajax, [code] function launcher(){ new Ajax.Request(getLauncherPath, { method:'post', parameters: { tag: "yadayada", uid: "12345", pwd: "blah", action : "blah" }, onInteractive: function(transport){ var response = transport.responseText; $('launcher').update(response); }, onFailure: function(){ alert('Something …

0
43
Member Avatar for preetg

hi............ m using javascript and css for creating horizontal menu for my project.... but i m facing prob regarding their direction..... i want sub menu should open in right direction but not below the main menu items. ........ help me out. [CODE=javascript] var cssmenuids=["cssmenu1"] //Enter id(s) of CSS Horizontal UL …

0
78
Member Avatar for hno

HI I have seen this pattern in [url]http://www.altsoftware.com/index.php[/url] . there are news menu in the left side . Please visit this site . The news will be change with a really beautiful pattern in every 5 seconds I think it has been written with jquery but I don't know how …

Member Avatar for macneato
0
77
Member Avatar for Corbula

I have made a table and am able to sort the contents of it, using yoast's table sorting. ([url]http://yoast.com/articles/sortable-table/[/url]), (althought i used a different script because the yoast script didn't sort numbers very well). But now i need to know if it's possible to make it so when you click …

0
87
Member Avatar for preetg

hi............. m inserted records in database successfully but now i want that whenever record added in database a dialog box will be shown on the screen.............. " RECORD ADDED" m using javascript code for this but it is not working............ plz help me to do this ............. <HTML> <HEAD> <TITLE>Apprentice …

Member Avatar for phpbeginners
0
220
Member Avatar for Venom Rush

Hi all I have a form where a user can upload a file. I do a check to see if it's a zip file. If it isn't then its supposed to stop the file from being uploaded. Only thing is, the file still uploads regardless of getting the error or …

Member Avatar for Venom Rush
0
96
Member Avatar for ranjita.cdt.esg

Hope i have posted the mail in the rite place. what I have done so far is: 1>I use Borland C++ Builder Version 5. 2>I use TCppWebBrowser which can access a website. which could be done through any browser outside my application.So no point in what i have achieved till …

0
68
Member Avatar for ranjita.cdt.esg

Hope i have posted the mail in the rite place. I need to know the google map API to save maps to a folder. My borland c++ application should in the background download the map according to a gps latitude longitude and save the map in a folder. There is …

0
65
Member Avatar for mahdiahmadirad

[B]How to Change default settings for ACT HTML Editor?[/B] I want to load editor with for example Selected Bold Button or with rtl direction instead of ltr defaultly. How can I perform that? I overrided FillTopToolbar() method to add Custom buttons but I dont Know how to change default settings. …

Member Avatar for ghmcadams
0
95
Member Avatar for zodiacfive

How can i pass POST [] array to jquery. Am using the code. var test = $("#content").val(); var dataString = 'content='+ test; if(test=='') { alert("Please Enter Some Text"); } else { $("#flash").show(); $("#flash").fadeIn(400).html('<img src="ajax-loader.gif" align="absmiddle"> <span class="loading">Loading Comment...</span>'); $.ajax({ type: "POST", url: "demo_insert.php", data: dataString, cache: false, Here only one …

Member Avatar for FlashCreations
0
60
Member Avatar for Heinz Stapff

[B]NEED INPUT VALUES TO MATCH ARGS ARRAY OR THROW AN ALERT[/B] This is what I have but I want the alert to refrence the var args= or throw the alert. [code] function qtymultiply(qty){ var fs=qty.parentNode.parentNode; var subtotal=document.getElementById('subtotal'); var args=[1,2,4,6,8,10,20]; [COLOR=darkorange]//array I need to match foreach element[/COLOR] var multiply=0.0; var price=fs.cells[4].innerHTML; …

Member Avatar for Heinz Stapff
0
113
Member Avatar for axn

Can you execute a ksh script within javascript? Inside my js function I have window.open("http://myhomepage.com:12345/Home/bin/ksh/" "Page Name", width=470,height=452"); ksh script should return output which the js function should display.

0
73
Member Avatar for Ana_Developer

I want to call a javasript function once a checkbox is checked and then enable a button in the function. How can I assign the javascript function to the check box event? Thanks!

Member Avatar for apegram
0
128
Member Avatar for paulernest

Hi I was wondering if there is a standard way to set a time out for ajax callbacks. The problem seems such an obvious one I know that it will have been solved several times. I'm using the google maps and google local api's and I want to wrap my …

Member Avatar for paulernest
0
93
Member Avatar for Traicey

I have 2 forms, 1 with a datagrid and the other with textboxes and Dropdown lists, etc. I have a code that highlight and select a row in a datagrid and opens the second form, this is done in Javascript, so now what I need is a code to be …

0
59
Member Avatar for achiman

Please can anyone tell me how to write a program that will auto suggest or auto complete a search word from a MSAccess database using PHP and Ajax. Thanks

Member Avatar for Thirusha
0
49
Member Avatar for xuexue

[code=javascript] function label_parameter(id,ind) { var clicked_row = id; alert(clicked_row); } [/code] is it possible to pass the value of clicked_row to an object in html?? thanks thanks..^^

Member Avatar for phpbeginners
0
150
Member Avatar for JackyRock

Hi Friends, How to create explorer like menu in Html or java script? eg + Game(inside this Cricket and Football) when click on + sign it become like-- - Game -Cricket -Football Can anybody suggest me, by which command I can do it? [url=http://www.bipra.com/cat-684-laptopsdesktoppcs.aspx]Buy Laptop[/url]||[url=http://www.bipra.com/cat-698-externalharddrives.aspx]External Hard Drive[/url]||[url=http://www.bipra.com/cat-801-internalharddrives.aspx]Portable Hard Drive[/url]

Member Avatar for Alison Clarke
0
101
Member Avatar for xuexue

hi! i just want to know, is it possible to pass the value of a variable coming from javascript to php?? knowing that the variable is inside a function?? [code=javascript] function (id,ind) { var clicked_row = id; } [/code] i want to pass the value of clicked_row to php.. thanks …

Member Avatar for xuexue
0
281
Member Avatar for emper

Hey all, im currently developing a S60 widget for Nokia phone. I will demo this widget on the S60 emulator. In order to stimulate the situation, a .nme file is used. Now the problem is , I got no idea when the tracker will move to the destination, because the …

0
48
Member Avatar for Philip435

Hey guys I have a small problem and i hope you can help. Basicly am going to make an search script to my website. Im going to use onkeyup event when the user is writing and my problem is that I wont to make a function that takes in input …

Member Avatar for Philip435
0
145
Member Avatar for eeyc

hii!! i try to post java script function from c# code. i success to make regular post data - like has regular html form pages but i have some troubles to post java script data. mybe i can figure this out with calling to function from address line - if …

Member Avatar for eeyc
0
129
Member Avatar for rbsplat

Hello I need some help, I have found all kinds of help with mouse overs change color or image. What I really want to happen is for a mouse over to change table cell content. I would like to have a list in the left cell, when you mouse over …

Member Avatar for rbsplat
0
320
Member Avatar for LoriM

Hello everyone, I have a button on a page that is created with the <input> statement - this statement also contains the event handler onClick. The button displays correctly on the page but the event handler is not working - I know this as I put a simple alert at …

Member Avatar for LoriM
0
183
Member Avatar for andanjin

I wan tto look at my <a href="http://holyrock.zxq.net">testing site</a>. I would like to change like <a href="http://holyrock.zxq.net/index1.html">this.</a> Here are my code draft: [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-Language" content="en-us" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="/css/stylesheet.css" /> <style type="text/css"> body{ …

0
53
Member Avatar for peck3277

Hey all, I'm having a porblem with a dropdown list selection. I'm using JSP to dynamically update the contents of a dropdown list based on a previous drop list. At the top of my first drop list is "select flavour". I want to make this item unselectable once they have …

0
51
Member Avatar for gaberb

Can I call two PHP scripts from the same onBlur? In the code below the preFilladmin function creates a JavaScript error after leaving the admin_uid field [CODE] // Set this to your validation PHP script, default is "validate.php?value=" var vUrl = "/validate_assignIP.php?value="; // This is the array for error handling …

Member Avatar for kvprajapati
0
141
Member Avatar for marteen

If we open "daniweb.com" . First it will show us a box (javascript box) and ask to enter our name. All that i wanna know is, how to make it? What kind of javascript that i have to use?

Member Avatar for kvprajapati
0
57
Member Avatar for johny321

I have a little code of javascript which i want to execute at my local machine. So can any one guide me the way to execute it. What i need to install at my local machine to run a javascript code. Any effort will be appreciated.

Member Avatar for kvprajapati
0
74
Member Avatar for xd3vilx

Hi guys, I have a drop-down navigation bar on my website. While I am creating the website, the drop-down have no problem overlaying the javascript (embed with flash) in Firefox. But when I tested it in IE, it did not managed to overlay the javascript script and the drop-down went …

Member Avatar for xd3vilx
0
157
Member Avatar for lavin

Hi coders, I want to find the network ipaddress of a person who visits my site. How can i do this. any idea?? I tot of using javascripts. storing the ip in a variable and save it in the db. I have not created the site yet. I know a …

Member Avatar for maba001
0
94
Member Avatar for by89

function updatesum() { document.form1.totalfat.value = (document.form1.satfat.value -0) + (document.form1.monofat.value -0) + (document.form1.polyfat.value -0); } <body onload="updatesum()"> <form name="form1" method="post" action="./submitFood"> <table width="520" border="0"> <% int count=0; if(request.getAttribute("foodList")!=null) { ArrayList al = (ArrayList)request.getAttribute("foodList"); Iterator itr = al.iterator(); while(itr.hasNext()) { if((count%2)==0) { } else { } count++; ArrayList foodList = (ArrayList)itr.next(); %> …

Member Avatar for Graphix
0
94
Member Avatar for Umair.P

I have this program that should tell me browser details but navigator.appCodeName is showing Mozilla on IE, Safari, Opera, Chrome, and FireFox. Can any one tell me why? [CODE]<html> <head> <title>Javascript Example 1</title> <script type="text/javascript"> function detectBrowser(){ (document.getElementById("appCode")).innerHTML = navigator.appCodeName; (document.getElementById("appName")).innerHTML = navigator.appName; (document.getElementById("appVersion")).innerHTML = navigator.appVersion; (document.getElementById("userAgent")).innerHTML = navigator.userAgent; (document.getElementById("platForm")).innerHTML …

0
73
Member Avatar for sutt0n

Ok, so I have this bit of Javascript and for some reason it's not working. It's supposed to work like "modvideo('2')" whereas "2" is an ID number. This is supposed to post to a page like a form, but for some reason is being gay. [code] function modVideo(inKey){ document.getElementById('txtKey').value = …

0
81
Member Avatar for mark185

In Firefox, the JavaScript code an interact with the document object to affect HTML structure and CSS style rules as well as define behaviors for given events. Can the JavaScript code also modify elements of the window object, like menus, not just enable or disable them in a new window? …

Member Avatar for mark185
0
87
Member Avatar for styles_p

I want to understand how I can difference two request which were rised at the same time?? for example:User A want to buy some product and this product has price for example 100$, this User has only 110$ and increase price to 110$ but at the same time another User …

Member Avatar for madmital
0
124
Member Avatar for geek_till_itMHZ

Need writing a java script that will list prime numbers from 1 - 999 in a 10 Row table...I think I have the prime number logic part down but I cant figure out how to get JS to start a new column after it lists 10 numbers? I would obviously …

Member Avatar for madmital
0
129
Member Avatar for lelady

Hi everyone, I've spent the better part of 3 days searching the web and trying multiple rotating image scripts to no avail.... every time I try one, it seems to break my page, or just not work. I am not skilled at Java, and am not even sure if that …

Member Avatar for madmital
0
151
Member Avatar for alpha_foobar

Hey, I'm having an issue getting the height and width of DIV elements that have resized themselves to fit their content. Note: I do not have a problem getting the height and width of DIV elements that I have set using Javascript. The probel is that this value appears to …

Member Avatar for lasi7
0
1K
Member Avatar for MichaelHe

Hi everyone I'm doing a very simple click count funktion with Ajax where I put some data in a mySQL database when some links are clicked: [CODE]onClick="UpdateSQL('1', '190', 'divname', 'message');"[/CODE] [CODE]function UpdateSQL(KundeID, IP, sideElement, kaldMessage) { document.getElementById(sideElement).innerHTML = kaldMessage; try { req = new XMLHttpRequest(); /* f.eks. Firefox */ } …

Member Avatar for madmital
0
185
Member Avatar for cali_dotcom

Hi all, i'm working on a php script and i got a little javascript. i'm trying to get information from some hidden fields but i keep getting an error, udefined. here are the codes: [CODE] var counter = 5; var avail = document.getElementById['available_array[counter][0]'].value; [/CODE] here is the original [CODE] tmp=document.order.elements['available_array[counter][\"+document.order.elements['BRANCHC[ …

Member Avatar for madmital
0
97
Member Avatar for michelleradu

Hi guys. I'm trying to pick 2 dates from a calendar on my webpage. I've got 2 textboxes (date1 and date2) and the calendar image next to each of them which opens a separate window with the calendar. It's all working fine, except for the fact that I can not …

Member Avatar for michelleradu
0
372
Member Avatar for mastia22

Before I start, let me openly declare am a ROOKIE. Am making a fantasy football site due in 2 months. Am still stuck on the backend part of it. Am having a problem making a page for editing player information where I have a drop down menu of the teams …

Member Avatar for mastia22
-1
92
Member Avatar for cwarn23

Hi and I have been searching the web but my answer isn't looking very hopeful. I need javascript or preferably css to make my text vertical so the result is something like the following. [CODE]t e s t i n g[/CODE] However with the result each of the characters need …

0
70
Member Avatar for mrjoli021

im new to java script. I am trying to make a time/date function update automatically. when i view the page i get the right time, but i have to refresh the browser in order to update it. How can i do it to automatically update itself. i want the clients …

Member Avatar for Graphix
0
102
Member Avatar for praveen_dusari

hi all, i have added a simplemodal box in my project which is using jquery problem is i am using it for dynamic php application. i want a id of clicked item iam not getting it here is my code in php page [CODE]<div id='contact-form'><a href='#' class='contact'><input src="images/email-icon.png" type="image" value="<? …

0
84

The End.