15,121 Topics
| |
Hi Simple problem. Ive designed a calendar for booking our boardroom - and I want it to refresh live - so using a timer and an ajax call. Thing is, if you select a new day (also using an ajax call), when it refreshes it needs to refresh with the … | |
| Hi, I have pasted my code below, please paste it into a JSP and tell me why it gives the error "Unterminated String Constant" [CODE] <html> <head> <title>Debugging</title> <script language="javascript"> function changeOn(object, objectId) { alert('in function'); if (object == 'bookingsButton') { alert('first if'); document.getElementById(objectId).src = 'Images/BookingsOn.png'; } else if (object … |
I want to have this kind of look [url]http://kleankanteen.com/faqs/faqs.html[/url] when i click the (+) button, the solution/answer will appear and when i click the (-) button, the solution/answer will disappear here is the sample that i want please help.. i dont know if this is javascrip, ajax or something... | |
Is it possible to Copy data from a <input> box the the main windows (the input is opened in a pop-up). I've seen date-time pickers can do that, but can't find the function! | |
hi frnd, i have a html form with some text fields and i have a check box that when i click on it the data form 1st text box come to the next one. its working fine when i write the text in text box. but if i use php … | |
Hi, I have the some php/mysql queries that pull data from my database and then echo out json_encode($rows);. In turn I display the data in my divs from JSON array's. My query is, I am trying to work out how to incorporate the an auto refresh on each of the … | |
Hi, We are developing a Google Chrome Extension to capture whole web page as image. Most of the available Extensions will open a tab/window on the click of a button,where they are showing the captured web page as image(in new html page).And are telling to right click on the image … | |
| Hi, I was wondering if it's possible to vertically align a table, using the page as reference to alignment. I don't want to valign the content INSIDE the table, but align the table itself so that it is always situated in the middle (vertically) of the page. Thanks, -Ashton. |
I want to resize a page dynamically so that it removes the scrolls i want to resize both heights and widths.. I want to bring the size of heights and widths of the scrollls..and resize based on it making overflow:hidden wont solve it.. because it will remove scrolls but wont … | |
Hi.. I'm trying to study jQuery and I've got a question in some parts of a code.. Here is the code.. [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" xml:lang="en" lang="en"> <head> <link rel="stylesheet" herf=".css" type="text/css"></link> <script src="jquery.js" type="text/javascript"></script> <script src=".js" type="text/javascript"></script> </head> <body> <div id="switcher"> <div … | |
Hi, I am using Jquery and the tablesorter plugin to sort a table of information. Within the table i have a column of checkboxes. A user can check the boxes and press the submit button which will $_POST the checked boxes onto the next page. Everything works if i dont … | |
I have a ajax script below which should get the info from the database with the option selected however when i select a name another select menu appears with the same details in. [CODE]<script language="JavaScript" type="text/javascript"> function display_data(id) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Your browser does not support AJAX!"); … | |
Hey, I have, what I think is an easy situation to solve. I am trying to have variables dynamically written to html depending whether a checkbox is ticked. This is what I have right now - if someone might also know the proper way to write this it would be … | |
[CODE=html] <!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=iso-8859-1" /> <title>Untitled Document</title> <script language="javascript"> function sendto() { var Lname = document.myform.last.value; var Fname = document.myform.first.value; document.write("Hello!," + " " + Fname + Lname); var choice = confirm("Your name is true? OR press Cancel … | |
Hi again chaps, here I come with one very common problem which I haven't been able to find a proper solution. Please take in consideration that I've made my part of research. Here's the thing; I am building a website with a very plain main page. It displays some text … | |
Hi. Firstly i would like to say hello to everyone on Daniweb.com, im new here. I am using jQuery and AJAX. And i dont know what possible could be wrong with this i made. The script i made, should insert data into database through a form. Let me show you … | |
Am designing a web page for mobile browsers. I have a div (having id 'wrap') which is 320px width and margin:0 auto. My all contents including header is within this wrap div. When I view it on my desktop browser it is positioning in center with a width of 320px. … | |
Hi, not sure if i'm posting this in the right category... i'm not sure if there is a tutorial or anything like this that exists because i've been on google for the past two weeks trying to find a tutorial that will allow me to build my own thing like … | |
i want to display images based on the text clicked from the list on my webpage, am unable to decide which option to choose for this.. pl help,thanks | |
i have a video player and i need to detect when the scrubber is more then 20.6% across this is the script i got so far [CODE] function ad() { if (document.getElementById('scrubber').style.left > "20.6%") { document.getElementById('ad').style.display = 'block' }else{ setTimeout(ad(),1000); } } [/CODE] this is the scrubber and the ad … | |
hi guys, just want to ask if how can i display the value of the textbox in javascript? as in, i will output it | |
Hi, I need help I have a form with an input field [B]addEdit[/B], after pressing a submit button I need to read the value from [B]addEdit[/B] and sent it to db. The problem is [COLOR="Red"]no value is sent through $_POST['addEdit'][/COLOR] . Why ? [CODE=html]<form name='frm' method='POST' action=''> <table cellpadding="0" cellspacing="0" … | |
Hi all, Im doing my myspace profile and im using submit buttons in a form and the form action as the url for the page that the user gets taken to, however my external links dont work, and i also want them to be opened in a new window. How … | |
hi everyone!!! how are you? i'm trying to make some game using while loop this is my code but, Unfortunately it doesn't work :( please help me [CODE]<html> <SCRIPT LANGUAGE='javaScript'> var puzzle=rabbit; var input; var i=0; input=window.prompt('White and fast with four legs ??guess the answer',' '); while(puzzle != input){ alert('hehe … | |
A very simple PHP/Javascript snippet to detect the resolution of a user's monitor and create a table using that resolution to best fit within the user's browser (to avoid scrolling). Note: This is a PHP script which includes Javascript | |
[B][COLOR="Red"]Please Help Me To Learn To make Regular Tour Pages and 3-D tourney pages...i the color coding in the script/html in a box you know what i mean?ty[/COLOR][/B] | |
Hi there I'm trying to use jquery to load some content on a page but cannot seem to find anything through google. I have about 10 checkboxes, once 4 are selected I want to get their ids, than load 4 divs with textareas depending on the ids of the checked … | |
I have the following files: 1. a PHP page that is loaded first and includes a number of functions. It calls a couple of other pages: 1a. a template file that has the following function in the head: [CODE]function checkForm( what ) { var ret = false; if( isBlank( document.getElementById('firstname') … | |
I am developing an intranet application, in which, in some pages, when the user selects an option, I am using a pop-up window to retrieve the data and displaying it in the main page. The pop-up opens, fetches data, puts in main page and closes itself. Since the user is … | |
Hi there. I am using the slideshow along with the singlegalery.js happily. Now I want to know if you have a version of slideshow that accept width as a percentage as opposed to now that just accept pixels. I know we could modify the singlegalery.js to make this possible but … |
The End.