15,120 Topics
| |
We have to make a little webshop in HTML, Css and javascript. Everything but the div's are to be made in JS, also the table's we can't make them in HTML. In the left (Links div) we make a couple of links, in the middle div (dynamicLeft) we have to … | |
Here is my code... [CODE]function buildTimer(second,minute,hour,day,month) { if(getCookie('day') == "") { setCookie("month",month,1095); setCookie("day",day,1095); setCookie("hour",hour,1095); setCookie("minute",minute,1095); setCookie("second",second,1095); } var d = new Date(); var curr_month = d.getMonth(); if(month >= curr_month) { year = d.getFullYear(); } else { year = d.getFullYear()+1; } var Bday = new Date(year, month, day, hour, minute, second, … | |
Hi all! Does anybody know a cool and cheap site where I could host my web application (jsp+Mysql)? Thanks in advance! Kind Regards | |
Hello there, I'm running into a minor problem. I want to execute an onKeyUp action after a short delay when a key is released. So for example when the user gets his finger off the "y" button, I want to execute an action related to that "Y" after 1 second. … | |
Hey, I'd like to read a file from the server, by any means necessary. As long as I can use something like JavaScript, like it has to be client sided. No server sided scripting language. If there is no way to read a file from the server, is there a … | |
Hi, I just have a program that needs a dialog box, but I have problem since I want the dialog box to do something. for example, I have a javascript dialog box that would create a message "You have an error, Do you want to save the Log File", Then … | |
When I in FF send an updated textarea text for database update I do not get the current value, but the old value. I use jquery, and as far I can tell there is nothing strange in the code, thd DOM is loaded etc. When I do the same in … | |
I have an RSS feed that is called using javascript. What I would like to happen is that the information gets displayed as html when you view source instead of the javascript. Here's the javascript: [CODE] <script type="text/javascript" onload="$('div.rssBody').vTicker();"> $(document).ready(function () { $('#ticker1').rssfeed('http://feeds.bbc.co.uk/iplayer/highlights/tv',{}, function(e) { $(e).find('.homepageupdates').vTicker(); }); }); </script> <div … | |
I built a very simple app using a PHP form with a bit of Javascript. In my form, I have a text input which I used to run a database search. In case I have multiple values, I have a bit of code that puts a comma in between each. … | |
I like to set trigger on Jquery based framework. [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> <title>Trigger scroll</title> <script type="text/javascript" src="jquery.js"></script> </head> <body> We have found an error on your page with form. Please modify this input field.<a id="scroll" href="javascript:void(0);">Please go go to … | |
Hey, I've been scratching my head over this all day, would be most grateful for any help. Basically I have two links (in an unordered list). I would like each link to load a form onto the same page. I have no problem loading the HTML content and displaying the … | |
Hi all I'm trying to have some jQuery movement on my HTML page. I have a div that I want to move from right to left, and another one from left to right. This is what I did: [CODE] #rectone { background: #0000FF; height: 10px; width: 100px; float:right; position: absolute; … | |
I want to create a button to be executed and produce: a warning and if the click OK to go to another page. look at my javascript code, I've made ​​but I do not know [COLOR="Green"][U]where to put such a target="_blank"[/U][/COLOR], anyone please help me. thanks. [CODE]<script language="JavaScript">alert('Thanks'); document.location='kuitansi.php?id=<?php echo … | |
hello, i figured this forum was more appropriate for this thread than the javascript forum, here is why : my javascript is functionnal, and does not set/change css rules of the objects i manipulate. But here is my problem, i have 2 dynamic listbox (selects with size 10ish) with 4 … | |
Hey everyone, So I am making a sample website for now and will be uploading it when I can but I want a "lavalamp" style menu..however I can't seem to get the hover "slide/float" to work right..it shows the menu bar but wont show the hover effect..can anyone help me … | |
i have simple javascript.i want to refocus on a text box control when it is left blank by user..everthing going all right.message is also displayed "this field is required" besides dat textbox control.when focus is lost with blank textbox.i [COLOR="Red"]want to cursur back on lost focus in dat blank textbox..[/COLOR]give … | |
| Hello all, afetr receiving such excellent help regarding my first ajax file, i have received an error in my code that i have not encountered before. I have created a form with input fields and when the button is clicked, three functions are run, the first is an ajax call … |
[CODE] function displayResult() { var damn = document.getElementById("textyar").value; document.getElementById("oneforty").innerHTML = damn; var newDIV = document.createElement('div'); newDIV.className = "tweets"; var newspan =document.createElement('span'); newspan.className = "imagespanleft"; var img = document.createElement("IMG"); img.className="image"; img.src = "tweets/me.jpg"; newDIV.innerHTML = document.getElementById('textyar').value; document.getElementById('leftmaindiv').appendChild(newDIV).appendChild(newspan).appendChild(img); } [/CODE] this is the code , i m trying to create an interface … | |
hi, i'm develping a system which opens a jquery dialog onclick of a image. but i fuond out that when an body wrap is there (a div) an it has a style [ICODE]float:left[/ICODE]. dialog opens after the page.. how can i fix this without removing [ICODE]float:left[/ICODE]? help needed soon. thanks … | |
Hy, I need to get the full path of a file trough JS/Prototype and all i get is the name file. From what I read on the web this is a security issue and it is not allowed. But still, is there a way? | |
What does this function means. [CODE]contentEl : 'av',[/CODE] thanks! | |
hello guys, please give me any idea about solving this problem. I have two tables categories: id .... category .... parent ________________________________ 1 .... general .... 0 2 .... news .... 0 news: id .... headline .... category_id ________________________________ 1 .... headline1 .... 1 2 .... headline2 .... 2 3 … | |
I have this code: [code] <html><head><title></title></head><body><form id='formulario' action='index.html' method='post'><label>Ancho </label><input type='text' name='ancho' id='ancho'><br ><label>Alto </label><input type='text' name='alto' id='alto'><br ><label>Izquierda </label><input type='text' name='izquierda' id='izquierda'><br ><label>Horizontales </label><input type='text' name='horizontal' id='horizontal'<br ><label>Verticales</label><input type='text' name='vertical' id='vertical'><br ><label>Crucero </label><input type='text' name='cruzero' id='cruzero'><br ><label>Marco </label><input type='checkbox' name='marco' id='marco'><br ><label><input type='radio' name='RadioGroup1' value='1' id='piezas'>Piezas</label><br><label><input type='radio' name='RadioGroup1' value='0' … | |
Dear experts I have following codes [CODE]<html> <head> <script type="text/javascript" src=jquery.js"></script> <scritp type="text/javascript"> $(document).ready(function(){ $('button[name="button1"]'.click(function(){ $("p").hide(); }); }); </script> </head> <body> <form> <p>hello</p> <input type=button name=button1 value=hide> </form> </body> </html>[/CODE] Why it does not work? | |
i want to assign content of textarea to a div .. like in twitter when you type something and press "Tweet" a div is created and has the content of textarea.. how can i implement it , i know something about getElementById() but not sure how it can help me … | |
Hi, I am using TinyMCE as a rich text editor. I need to add an image upload functionality. At first I tried Just Boil Images 2.1 for the upload which gave me a good functionality, but when I switched the operating system and came to Windows 7 it stopped working … | |
I am using a AJAX ModalPopUp control to display some data, which I am fetching through a WebService, what I want to do is that when the Data is being fetched by webservice,(during the time when the data is being fetched) I want to show a .GIF progress bar image … | |
I'm trying to figure out how to use PHP in Javascript to fill in the options for my drop down menus for my dynamic inputs. I've tried several things already, but I have had no luck. This is how my code stands at the moment. Any ideas are greatly appreciated. … | |
Tell the difference between indexed array and associative array? | |
In my form I am using a AjaxToolkit ModalPopupExtender. The PopupControlId has been set to a panel which has a RadioButtonList and a dropdownlist.The panel which pops up is something like this: [CODE] <asp:Panel ID="PopUpWindowPanel" runat="server" Visible="false" BorderStyle="Solid"> <table cellpadding="2" cellspacing="0" width="100%" border="0" class="dataTbl"> <tr> <td class="left"> <asp:RadioButtonList ID="RdBtnLstSortOptions" runat="server" … |
The End.