15,688 Topics
![]() | |
I was going through a tut on the internet about Cookies in JS. So, they told to use this function "getCookie" ! I used that ..... but I cannot understand the use of regular expressions ie using document.cookie.split !! 'cause as far as I know a cookie is just a … | |
I am learning Javascript, I wrote this JS code and it isn't working as it should be, it is meant to reposition the element square. Here's 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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="test.js"> … | |
hello guys i got a problem that i applied clearabletextfield plugin on my textfield but its css is not been right.i set it on multi-fields but its css is not been set me... | |
Hello everybody, am working on a small php project and in some pages i have dynamic table to read date from another table in MySql database and i added into same table a javascript code for inserting new row. the fields in the table is: Value (input type="text") time (generated) … | |
Haven't logged in to this site for years, and now I need some help. I also don't know if this is the right forum, but here it goes. I'm trying to write a site a hosts some of my own videos. I want to have a list of videos, each … ![]() | |
[ICODE] <!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 runat="server"> <title>Events !</title> <script type="text/javascript"> window.onload = function() { [B]//Only this occurs[/B] document.getElementById('anImage').onclick = function() { alert('F-14 Tomcat !'); } [B]//This gives the result of the first[/B] document.getElementById('anImage').ondblclick = function() { alert('Not again ! !'); } [B]//Nothing … | |
Hii, I am trying to get a content of a php page(Dynamic) with the help of Ajax by sending Get request to the server page.Like the script should fetch the content of server page (Can be changeable with time )into a certain div tag that i will define. I dont … | |
Hello, I have a js script that produces a calendar and will like to move previous and next. When page loads it checks if month, year is already defined or else use the current month, year. and when the previous button is clicked calculate the previous month and change the … | |
Dear All, I have now got two different types of dropdown list created via php. One is called single and one is called pair. The pair have 2 drop down list. What I want to do is that when I press the button single it will add single row with … | |
Hello, I need to post data to another server using jquery. Here is the code i am using [CODE] $.ajax({ url:"https://www.thewiseagent.com:443/secure/webcontactAllFields.asp", type:'POST', data:"ID="+$ID+"&Source="+$Source+"¬ifyCc="+$notifyCc+"¬ifyBcc="+$notifyBcc+"&noMail="+$noMail+"&CFirst="+$first+"&CLast="+$last+"&Phone="+$Phone+"&Fax="+$Fax+"&CEmail="+$CEmail+"&Message="+$message, success: function() { //window.location.href = "http://www.petlooza.com"; } }); [/CODE] i got error (302 object moved) in case of firefox/chorme although data is inserting.. but in case of … | |
For my new code that I'm developing, I have a text box where a user will type in a date as follows: [B]MM/DD/YYYY (e.g. 05/19/2011)[/B] This date then needs to be converted and inserted into a date/time field on a mySQL database. I've been trying to play around with this … | |
Hello Guys, we just created a website using sharepoint 2010 and we implemented a booking system inside this website. we used a bamboo calender plus webpart as a booking system. now getting to the problem. there is a link inside this webpart where we click to enter new item(equipment booking). … | |
Hi Folks I have a problem that really has me stumped If you can please have a look at [http://oldbusman.co.nz/productDetails.cfm?ID=9](http://oldbusman.co.nz/productDetails.cfm?ID=9) the "add to Cart' table has an up/down arrow to adjust the quantity being ordere, and this has a function in the page to stop it going any lower than … | |
I have lots of pets in a dropdown. what i want to achieve is that when ever i hover on dropdown, it will display the image of particular pet as a popup. Any idea how can i achieve that? | |
I have lots of pets in a dropdown. what i want to achieve is that when ever i hover on dropdown, it will display the image of particular pet as a popup. Any idea how can i achieve that? ![]() | |
Hello everybody i have download loaded the popup of jquery and its working but i have added html button in it and i want to close the popup when user click on it .... kindly reply me i shall be very thankful to you ![]() | |
Hi, In my project i got the object of arraylist by separating success result in jsp page through ajax but I can't understand how to assign that object to arraylist object's of jsp page that means I can use arraylist in jsp. please help me. Thanks in advance ![]() | |
Hi, I have a page with data like this. ----------------------------------------------------1st paragraph ---------table ------2nd paragraph I want on page scroll, the table headers to remain fixed until table data is over and it reached second paragraph. Any way to do this? I dont want to do another scroll in table body. … | |
What is the difference between property1 and property2 in the following code? [ICODE] // create object a var a = {}; // Add property1 to a a.property1 = 1; // Add property2 to a a['property2'] = 2; // Add function 'function3' to a a.function3 = function() { return this['property1'] + … ![]() | |
This is my first step towards HTML5. This is currently tested on Chrome browser where it is awesome. It will not work on FF and definitely not on IE. I am working on it. Just copy-paste the code in blank html file and run on chrome. 'Scroller' is simple menu … | |
Hi All, I did a search on DaniWeb but didn't manage to find a solution to this problem. We've got some pretty simple javascript that calls a random html file into a div on a very simple page. The called file contains a vimeo embed in an iframe. This script … | |
Hello, I'm trying to populate a form with information from a database based on a textbox entry. However, when I begin to key in the textbox I receive "undefined" in each textbox throughout the form. Can someone take a look at my code for any errors? It also appears that … | |
[ICODE] var a = { one : 1, arr : ['one','two','three'], doThis : function(){return 20;}, two : 2 }; var html = 'a.one = ' + a.one + '<br/>'; html += 'a.arr[0] = ' + a.arr[0] + '<br/>'; html += 'a.doThis() = ' + a.doThis() + '<br/>'; html += 'a.two … | |
i want to have a drop down box containing items a, b, c, d, e, f & g and checkboxes 1-20 now checkboxes 1,2,3 are associated with option a checkbox 4,5,6 are associated with option b like this. now how to display the associated checkbox when an option from the … | |
I am in a great hurry please someone tell me how to populate checkboxes based on the dropdown menu selection if possible please give the code | |
Hi I want to set focus to a text field on a php page which is loaded by ajax. The javascript file for ajax is shown below [CODE] <script> function menu_change(str) { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else { // code … | |
Hello, I'm converting a HTML/PHP website to wordpress. I'm showing real estate listings on the Google Maps. I've been able to sort out all the problem when converting to wordpress but I'm stuck at a point. Here is the code; [CODE] parameters: function() { var result = {}; var url … | |
i have following code [CODE]<div id=date_check visible=true runat=server> <strong>Check-In Date</strong> <%-- <asp:TextBox ID="txt_checkin" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkin','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> --%> <asp:TextBox ID="txt_checkin" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender1" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkin" Format="dddd, MMMM dd, yyyy"> <%--<input runat=server type="text" id="txt_checkin">--%> <strong>Check-Out Date</strong> <asp:TextBox ID="txt_checkout" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender2" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkout" Format="dddd, … | |
Hello daniweb users, i would like a brief walk through on AJAX if you'll can, i already looked through the post and didn't find what i was looking for, i would like to know how to refresh evertying on a web page but the header, which contains the navigation bar … | |
Hello Everyone, I created a javascript function to show/hide element id. In the code, the detail row will be show when its header row is clicked and the detail row will be hiiden after the hyperlink is clicked. Can you give any advice on how to show/hide the detail row … |
The End.