15,121 Topics

Member Avatar for
Member Avatar for zdravim

Hello, I'd like to ask you guys for an advice. Got this function to request some sentences from database (using php file with mysql_query(SELECT *...) stuff, then echoing the result and passing as a parameter to function displaySent(oXHR.responseText, select_sent) - which displays this text using some parsing procedure into the …

0
36
Member Avatar for gagan22

Hi Everyone, I am using javascript code for removing some records. When i am click on delete selected button. I want this should demand one confirm button in which i want if we click OK in confirm box then the record should be removed from database and if i will …

Member Avatar for mail2saion
0
145
Member Avatar for ed7171

I would like to find out how to fix drop down menu over flash when the flash content brought by the java/script below into iframe? You may see what I am talking about here : [url]http://67.220.225.130/~ktaelot/#[/url] Here is the script: [CODE=javascript]<script type="text/javascript"> var fo = new SWFObject("ext/viewer.swf", "viewer", "100%", "100%", …

Member Avatar for ed7171
0
107
Member Avatar for nanna

hi, I have 3 inputs for quantities to be entered by user, then when user enters a quantity , I should get 2 results ; one in the first add-on total input textfield which is the quantity entered by user multiply by the fixed price for the first add-on (eg.3.75). …

Member Avatar for essential
0
122
Member Avatar for nrsbr

Hi I have a problem with my javascript the functions are not working, and I have a little knowledge about JScript. Firstly, the user will select from the list box a designer name, then a flower, and then a cake. The total will come up when the user clicks on …

Member Avatar for essential
0
331
Member Avatar for NinjaLink

I am doing a small program using a function to print out the real root or imaginary root. The problem is, it only prints out what the numbers that the user input. However, it does not print out the rest. For Example: It prints out this: a = 4 b …

Member Avatar for Fungus1487
0
125
Member Avatar for laural4705

Hi there, I found this great code that allows for chained selects with php and ajax. I have 2 boxes working great, and almost 3 - that is where I have a problem. Here is the code: [CODE] var ajax = new Array(); function getAgencyList(sel) { var bargainingUnit = sel.options[sel.selectedIndex].value; …

0
92
Member Avatar for Stefano Mtangoo

Hi all, I have MP3 player from [url]http://www.premiumbeat.com/flash_resources/free_flash_music_player/multiple_tracks_mp3_player_menu.php[/url] and I want to put it in my page. I want it to appear in every page. I'm pretty new to many PHP stuffs and with PHP page I judt do simple include statement. How do I do that? Here is their …

Member Avatar for Stefano Mtangoo
0
108
Member Avatar for sivak

i am using javascript for validations purpose...i want to know all the functions in javascript ... can any one tell me is there any link to free download javascript book....

Member Avatar for peter_budo
0
87
Member Avatar for kurraboy

Hi there, I have a problem in FireFox, whereby a Javascript function only works if I make the first line of code an alert() statement. If I take out the alert() statement, the following code doesn't work. Any ideas ? The alert() statement I am talking about, is the first …

Member Avatar for essential
0
133
Member Avatar for Rustynails

Hey there everyone, hoping I could get a little insight on my problem. When calling my function friend_list(), I'm getting an error that I do not understand nor know how to fix. Here is the code.. [code] function AsyncRequest(){ this.check=function(){ var xmlHttp=null; try{xmlHttp=new XMLHttpRequest();} catch(e){ try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");} catch(e){xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");} } …

Member Avatar for ShawnCplus
0
104
Member Avatar for veledrom

Hi, When try to validate the textbox generated by innerHTML, it returns "Undefined" for the textbox. Therefore, i cannot validate it. Thanks [code] <html> <head> <script type="text/javascript"> function validateForm () { if (document.form1.textContactname.value.length == 0) { alert ("ERROR"); return false; } return true; } function createInvoice () { document.getElementById("hiddenPayment").innerHTML = …

Member Avatar for veledrom
0
119
Member Avatar for yassar

Hi, I am trying to create a playlist using JCarousel. I am trying to create playlists changing with tabs. When the page loads for the first time playlist works correctly, but when I click on a tab and change the contents of the playlist when i scroll playlist goes out …

0
74
Member Avatar for mansterdom

I'm attempting to read in a user's weightlifting history from a database using a php file(viewworkout.php) to first run the query and then a js file to get the results from the query. the script below is all i have so far, and it [code] <script type="text/javascript"> <?php include("viewworkout.php"); echo …

Member Avatar for essential
0
102
Member Avatar for h2onet

I am trying to display/hide different div tags when a checkbox is checked and when a California is selected as a drop-down value. I have it working when the check-box is selected and choosing the drop-down value, but not when the drop-down is selected and clicking the check-box. I hope …

Member Avatar for h2onet
0
105
Member Avatar for sivak

i am using javascript for validations......i want to know all the function in javascript ...can any one tell me the link for free download javascript book plz

Member Avatar for Ramy Mahrous
0
53
Member Avatar for Capsi

Hi, I am using prefunction attribute of autocomplete. The javascript gets executed at the time of page load. But the requirement is to get executed just before displaying the values retrieved from ajax autocomplete. Plz reply..

Member Avatar for wireless2007
0
65
Member Avatar for millsy007

I have a menu div that I have styled so that is always visible on my page. When a user clicks a menu item they are taken to that section of that page using an anchor withing the page but the menu remains visible/constant to the left of the screen …

Member Avatar for essential
0
160
Member Avatar for HonorPC

Hello, I am looking for a user.js file to use with Opera to fix a YouTube issue. When you log into YouTube and click the yellow "Upload" button, you are brought to [url]http://www.youtube.com/my_videos_upload[/url], where the "Upload Video" button is nonfunctional in Opera unless the page is scrolled or reloaded. If …

0
46
Member Avatar for dnsoft

Hi, I use a code to display the counter result and to refresh that value I actually refresh all the page, I'd like to refresh the script only without refreshing the full page but I don't know how to modify the code to make it work. Here's the actual code …

Member Avatar for hitdrumhard
0
111
Member Avatar for jonpb

Hello, I looked all over the forums here but couldn't find anything on this: I'd like to have a js random image (1 out of 4) load each time a user visits my page. Along with that image, I'd like a specific quote and sub heading (text) to appear -the …

Member Avatar for essential
0
281
Member Avatar for EJM

Hi... Can some one point out as to why my code does not work? I've created some cookies like this: [code] var gotCookies = get_cookie(cookie_name); var exdate = new Date(); exdate.setDate(exdate.getDate()+10); if(gotCookies != null) { //var gotCookie = document.cookie.split("; "); //var old_selection = gotCookie[0].split(", "); var new_selection = cbId; document.cookie …

Member Avatar for essential
0
80
Member Avatar for rajeesh_rsn

Hi I had 2 div layers in my php page. One of them is dragable ( suppose div B ). I need to fade out all the items except div B. Because of that I can view the div A clearly inside div B. Please help me with an advise …

0
63
Member Avatar for praveen_dusari

hi all, when i want delete items i will show a alert to users like are you sure you want delete .now i want a X symbol or danger symbol in that alert box ,i dont have any idea how to do this any ideas! thank you

Member Avatar for praveen_dusari
0
59
Member Avatar for Designer_101

Hi I have this login box that drops down once clicked. I would like it so if the user doesnt click one of the fields within lets say 8 seconds then the box minimizes automatically. Here is what I have: [CODE] <script language="javascript"> function makevisible() { document.getElementById("dropform").style.display="block"; setTimeout("minimize()",4000); } function …

Member Avatar for Designer_101
0
112
Member Avatar for newboi

Hello, I have a form inside a form. The problem is that IE does not submit the parent form for some reason... It works very well in FF and chrome see [url="http://www.daniweb.com/forums/thread110758.html"]same problem[/url] Any help appreciated.

Member Avatar for ~s.o.s~
0
143
Member Avatar for lolodede

i have external javascript [code=JavaScript]var titles = new Array(); titles[0] = "Mr"; titles[1] = "Mrs"; titles[2] = "Miss"; titles[3] = "Ms"; titles[4] = "Dr"; var courseNum = new Array(); //this array is in parallel with the courseName array. courseNum[0] = "3503"; courseNum[1] = "3508"; courseNum[2] = "3633"; courseNum[3] = "3639"; …

0
44
Member Avatar for danielpataki

Hi Everyone! I want to make a nice floating bar at the bottom of the screen, which hovers about 15px from the bottom. I am doing this to make a site look good in small and big resolutions. The minimum height for the bar to hover is 600px about, if …

Member Avatar for essential
0
86
Member Avatar for konczuras

Hello, I'm new to javascript, and need some help, why the following code refuses to do anything. [CODE]<html> <head> <style type="text/css"> .btn { background:URL("elemer.jpg"); width:200px; height:100px; display:block; } .btn.sfhover, .btn:hover { background-image:none; } </style> <script type="text/javascript"> sfHover = function() { var sfEls = document.getElementById(„btn”); sfEls.onmouseover=function() { this.className+=” sfhover”; sfEls.onmouseout=function() { …

Member Avatar for konczuras
0
162
Member Avatar for Theeba

Hi Everyone, I am using javascript to validate a form: [url]http://www.cultureisaweapon.org/pals/hospital/contract.html[/url] the errors show up as necessary; however, when someone does not enter a required field, and the errors show up; the form displays itself at the middle - is there any way, a function I can use, to display …

Member Avatar for essential
0
68

The End.