15,121 Topics
| |
The following script creates a child window check/check.php in Firefox but not in IE or Chrome. I know that I should not be using [I]href = "javascript:void(0);"[/I] but I cannot work out a better solution at this stage. Here is the snippet I'm using. While this code contains PHP I … | |
Hi all, [ICODE]i want code for "How to put autopostback property true/false using javascript".[/ICODE] | |
Hi all, I have taken from net chained select script. here is all PHP and Javascript files but i dont understand one thing there. index.php file [ICODE]<?php include('db.php'); include('func.php'); ?> <!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>Chained Select Boxes using … | |
I use the below code to add or remove a row from a table using javascript. The code works fine on IE however it doesnt work on Firefox, can anybody suggest reasons why this might be doing so? The id "table1" is the ID of the table I am trying … | |
am having trouble with this small java-script problem how can i make a link button clickable after an event lets say clicking a check-box or another button ...example when you want to install a software you see the next button but can not click it until you check the check-box … | |
Dear all, I am certainly not a web developer nor a computer scientist but a little biologist. I developed my tool to analyze some high-throughput biological results and I'd like to make it available online. My prototype : [URL="http://homes.esat.kuleuven.be/~sbrohee/test/new_gsea/php/"]http://homes.esat.kuleuven.be/~sbrohee/test/new_gsea/php/[/URL] Just to make it simple, the user must have the choice … | |
HI there, I am having a few problems understanding how drag and drop works in jquery. Say I have this (which is taken from a text book): [url]http://aharrisbooks.net/jad/chap_12/dragDrop.html[/url] In the code you have [CODE] ... //make all drag me elements draggable $(".dragMe").draggable(); //set target as droppable $("#target").droppable(); //bind events to … | |
Hello, I have a problem with the response text of an ajax request. I want to use the answer of the php script ("true" or "false") to do different things with a if-condition, but it always takes the false option. Here is the code. [CODE] var hr = new XMLHttpRequest(); … | |
Hi Daniweb I been searching and searching for this Code i have no idea iff this is CSS or Java i went for java and writing here now. What im searching for is something like this: [url]http://www.maskedcrusader.com/mmo-account-trading-forum/[/url] The little image saying "Waiting, Register now" when you scroll with the mouse … | |
I have a simple JavaScript question. I want a drop down selection so that when you select a certain option is shows the value of the option in a div. So for example: [CODE]<select> <option value="select-1">One</option> <option value="select-2">Two</option> <option value="select-3">Three</option> </select>[/CODE] So lets say that option one is selected, then … | |
I am not a javascript coder, but I wanted to make pop windows on my webpage, without a separate window. I followed the instructions I found here:[URL="http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/"]http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/[/URL] It worked well. However, I want to make more than one popup on my webpage- I have thumbnail images that I want to … | |
Hello Guys, Please i have finding it very hard to convert this javascript snippet to php where values or content can be retrieved from DB. SELECT SQL Statement to retrieve the value from the DB is listed below. I also attached an external script (scroller.js) to make the scroller run. … | |
| Hi, I am very much a js novice, and trying to follow a tutorial that plots markers on top of Ordnance Survey map. The code used works in part by loading the map, but the markers it loads from a locations_complete.xml file do not show, and no error message is … |
Hello, I need to submit a form as soon as selection has been changed and call PHP function. I know I can do this with onchange="this.form.submit(); but this will generate an url similar to this: [CODE=PHP]?submit_position=change[/CODE] while I need to generate something like this: [CODE=PHP]?p=edit-product.php&action=change_pos&id=$id[/CODE] This is what my form … | |
Hi ^^ sorry, iframe! I am able to load an external website into an inline iframe I have on page1.php by adding target name to the hyperlink. However, what I can't seem to get working is making the URL load into the iframe through simply adding the link to the … | |
i cannot send data in box to index.php. why ? outout is just [CODE]button: Submit[/CODE] link is [url]http://kottawadumi.blogspot.com/2011/07/add-or-remove-list-box-items.html[/url] [CODE] <script type="text/javascript"> function removeMultipleOptions(){ var listBox=document.getElementById("selectMultipleCountries"); if(listBox.options.length==0){ alert('You have already removed all list box items'); return false; } var removedOptionCount=0; var valuesToBeRemoved=Array(); for(var x=0;x<listBox.options.length;x++){ if(listBox.options[x].selected==true){ valuesToBeRemoved.push(listBox.options[x].value); } } for(var j=0;j<valuesToBeRemoved.length;j++){ removedOptionCount+=removeListItemOneByOne(listBox,valuesToBeRemoved[j]); … | |
There is one table that have fields included the add row button. I am using onchange event to call data from other tables, so when I select an option in the option box can automatically get the value that has been selected earlier ([B]do not need input the value manually[/B]). … | |
Hi, I am working over a ASP .NET application and SQL server database. The databases i m using is huge and takes time while updating or generating report by my ASP .NET application. As the reporting and updating require some calculation, if the user presses ESC button or Back button … | |
Hi,guys,morning to all :) I have face 1 situation, i already built an api using the rest method, and all my response data will be return in html data when i call the api, i testing on the same server using the jquery working fine, when i use on another … | |
Hi, I try to create a menu for the website of my friend. But I have a probleme with the reaction of event. My submenu close when i quit the section div. Someone can help me please? my code: [CODE] <html> <head> <title>test menu</title> <script language="javascript"> function ouvrir_menu(cible){ liens_cible="liens"+cible; document.getElementById(liens_cible).style.visibility="visible"; … | |
ok so, I have a webpage that I am making for me and there is a link that is interfering with the hover part of the nav bar to show..it's this link "http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" that's at the bottom of the html page that I have set up..when I take it away..the … | |
Hello everyone! I have a question for whom ever can answer it. Im creating a board game in which cards need to be drawn when you land on a spot that instructs you to do so. Just like when you land on a chance square in Monopoly, and just like … | |
I'm sure you guys can gather from the title... this project requires alot of work to work :P you can see my current progress at: [url]http://tcll5850.hostoi.com/tabs.htm[/url] I called it "Tabs" because the original development was just a basic tab system using the Opera browser... that works perfectly. well... somewhat... I … | |
I want to know if there is anyway of getting a discography from this page? [url]http://www.oasisinet.com/Discography.aspx[/url] I want to use it on a website that I'm updating at the moment. I right clicked on the flash interface and it said powered by Trinity St. I googled that but couldn't find … | |
Say in index.html you set variable x to be 5. You navigate to a different page, lets say pageone.html. How can you keep x to 5? And if you change x to 3 on pageone.html, how can you keep it to 3 on pagetwo.html? (the whole website also, every webpage) … | |
Would it be possible to use JavaScript with C# (or Java, Python etc) for the sake of getting a sweet UI. Say for example I have a program written in C# with a ok-looking GUI which holds some panels, a few buttons, radiobuttons, the usual stuff. Would I then be … | |
The situations: I have text in a var, that I am assigning to the innerhtml of a 'p' tag . The text has whitespace at the end. The problem: The last whitespace isn't rendered, by p tags. IT is ignored. Is there a tag other than the pre tag, that … | |
Hi, Mouseover the circle area i will display some text.the following code is correct or not.does not work this code.where can put mouseover function. plz help me,urgent, I asked many times but nobody tell me. <map name="Map" id="Map"> <area shape="circle" coords="229,40,35" href="<?php echo url_for("@make_plans") ?>"onMouseOver="('HEY JOHN YOU HAVE NEW MESSAGE')"; … | |
I am trying to get a database created as per html5 web sql specs. [CODE]h**p://www.w3.org/TR/webdatabase/#sql[/CODE] I am using jquery/javascript to accomplish this. Here is a bit of simplified problem that i am facing. 1. User enters two fields on a html form 2. In background, i create a websql database … | |
Hi everybody, what is the error for following code.this function not work. $( "#calendar-node" ).hover( function(){ if ($(this).attr('date')) { $.ajax({ url: $("#url_view_schedule").val(), data: "personalId="+$("#personal_id").val()+"&date="+$(this).attr("date"), dataType: "json", success: function(list) { events = list["events"]; notes = list["notes"]; if (events.length != 0 || notes.length != 0) { $("#schedule").show(); var html = ""; var … |
The End.