15,121 Topics
| |
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 … | |
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 … | |
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%", … | |
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). … | |
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 … | |
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 … | |
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; … | |
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 … | |
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.... | |
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 … | |
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");} } … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 | |
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.. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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. | |
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"; … | |
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 … | |
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() { … | |
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 … |
The End.