15,698 Topics
![]() | |
I'm really no JavaScript expert, and I have absolutely no idea what exactly is causing this error. I am using a Photo Gallery script called Galleria which uses jQuery/JavaScript to display photos. On my index page load (only in Internet Explorer), a message box pops up saying "Message from Web … | |
Hi all, I would be extremly graeful if you could cast your eye over the following problem and give me some advice if possible. I'm ok with the basics of html and css, but and fairly new to it, so have been stumped by this latest problem. I built a … | |
Hi! I have a function that i like to move 2 image objects around. (it works with 1) But im getting errors while im trying to pass multiple object id-s. I believe example will tell you more. [CODE] <script> function Init() { document.getElementById('pilt_kivi').style.left = x + 'px'; document.getElementById('pilt_kivi').style.top = y … | |
[U][B]textbox to search for employees[/B][/U] [CODE]<div id="searchform"> <div id = "courses"> <form id="searchempform" name="searchempform" method="post" "/> <li> SEARCH <b>EMPLOYEES</b> <input type="text" name="searchemployees" class="textbox" [COLOR="Red"][B]onkeyup="searchemp();[/B][/COLOR]" /> </li> </form> </div>[/CODE] ======================================================= [U][B]typed characters sent ... ajax call to another page look out for data[/B][/U] [CODE]<script type="text/javascript"> function [COLOR="Red"][B]searchemp()[/B][/COLOR] { if (window.XMLHttpRequest) {// … | |
![]() | Hi, I have url links in an Access Database which open different info screens depending on the record. I want to include some code in the html which isn't blocked by browsers, but restricts the html code to an initial window of approx 800x600, but can be resized, but importantly … |
Hi, I have been trying to get my way round the DOJO charting using the declarative (html) method. 1. I have a ItemFileReadStore for the data source 2. I know the data store has data as I am outputting it to a grid as well. The only thing that appears … | |
Hello Daniweb, I'm trying to validate form fields with php via jQuery and everything is working great, except for one thing I can't figure out. I'll try my best to explain. Here's the jQuery: [code] $(document).ready(function(){ $("form#reservation").submit(function(event){ event.preventDefault(); // Prevent default submission of form }); $("input#continueReservation").click(function(event){ event.preventDefault(); // Prevent default … | |
hi..i've searched google for this and yeah..google give me what i expected.. but it is possible to capture a screenshot from webcam and passing it to php and then saving it to database.. picture --> javascript --> php --> database or picture --> javascript --> database (well i dont know … | |
hi everyone, i never worked with php or any script language before i am more of a java, c++, C programmer, but for a school project i need to program a character converter in php, i have some problem recieving response from my php file. can someone help me this … | |
I'm trying to create a program and found this website that was exactly what I wanted. When I followed all the instructions I got this java code which makes no sense and also gives errors when I try to assign a class. Please help. [url]http://labs.unwieldy.net/moocirclepack/[/url] [code] <script type="text/javascript" src="js/mootools-1.2-core-nc.js"> </script> … | |
Hi, Can you tell me what is the regular expression for a comma-separated list (in this case - IPs) ? My list looks like this: [CODE] 192.168.0.1, 10.%.23.100, %.46.%.1 [/CODE] So far I managed to create this: [CODE] ^[0-9%]{1,3}.[0-9%]{1,3}.[0-9%]{1,3}.[0-9%]{1,3}$ [/CODE] But I don't know how to specify a comma-separated list … | |
I have the following code which works fine until I try and display graphics. Please tell me how I could/should display the odometer in graphics format rather than text. I have all the necessary images as .png(0 through 9) in the same folder as the following code. It is just … | |
![]() | Hello Developers, i have a link structure like this on my website... [CODE]index.php - homepage index.php?section= - other pages[/CODE] here is a piece of code that i wrote to change the colour of the active link... [CODE] $(function(){ var path = location.pathname.substring(1); if ( path ) $('#nav ul#navigation li a[href$="' … ![]() |
Hi,I am trying to verify form input for length(before that I would like to trim it) How can I do that for user Thanks [CODE]function verify(){ var user=document.getElementById("user"); var pass=document.getElementById("pass"); var msg= ""; document.write("Length "+user.length); if(user.value == ""){ msg+= "Please enter a username!\n"; user.className = "inpBoxError"; } if(pass.value == ""){ … | |
hi.. i used this code to display a clock. [CODE]<script type="text/javascript"> var int=self.setInterval("clock()",1000); function clock() { var d=new Date(); var t=d.toLocaleTimeString(); document.getElementById("apDiv1").innerHTML=t; } </script>[/CODE] in firefox it displays like this 7:25:00 PM and in Chrome 19:25:39 i want to show a similar clock as in firefox in Chrome. How can … | |
hi, im fairly new to najax and i am assuming its similar to ajax, but iv been asked to fix a website which uses it to interact with its database, they upgraded their server from php4 to php5 and the website stopped working, so they asked me to fix it. … | |
[code] <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#btnclick").click(function(){ $("#para").hide("slow"); $("#btnclick").click(function(){ $("#para").show("slow"); }); }); }); </script> <body> <form id="form1" runat="server"> <div id="para"> <p>The form contains a button to place the final order. In this example, pressing the button returns a simple JavaScript alert(), depending on the contents of the order. In … | |
HI, I have a radio button list item. I want to add a new item to it using javascript. Could u please help mee. My radio button list already consists of three items names r1, r2,r3 which is an asp control. But now u want to add a new item … | |
Hi guys, Did any1 of you pro in jquery. I have a question regarding this. whether IE7 support ui-tab for jquery?my jquery uitab works for firefox,chrome,Ie8 and 9 but not IE7. Did it require any specific thing? my IE7 appear to have all information shown but it doesnt apply the … | |
Hi. I'm trying to make a script which submits the form without refreshing the page. Also, I'd like to have it submit onkeyup. I can't figure out how to do that. Can anyone help me? My code is [CODE] <script type="text/javascript"> $(document).ready(function(){ var $form = $( '#myform' ), url = … | |
I can not for the life of me get an ajax example/tutorial to work. I have tried dozens including prototype library and JQuery. Here is my latest attempt: [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>Easy</title> <script type="text/javascript"> function getXMLHTTP() { … | |
Hi guys, I am still new to JavaScript. In our class we were required to create an application wherein you can dynamically add elements and use them. I don't know what I am missing here. Any ideas? Thanks in advance. Some of the codes are actually based on this link: … | |
What is wrong with this code in IE, rest of the browsers its working fine, but when it comes to IE, it gives an error popup, Access is denied. Can some one help please. [CODE] var IE = false; if (navigator.appName == "Microsoft Internet Explorer"){IE = true} if (!IE){document.captureEvents(Event.MOUSEMOVE)} document.onmousemove … | |
Hi There, I've come across this interesting web page - to see what I'm talking about, just hover over each image: [url]http://poptech.org/speakers?utm_sour...m_medium=email[/url] Could this sort of thing be accomplished fairly easily with an existing javascript library/script? A jquery script would be ideal if such a thing exists. Thanks, Dan | |
What is the best book to learn ,PHP,Javascript,DHTML, and AJAX? | |
Does anyone knows how to group dynamic table rows What I want is: when user chooses same name second, third... times It must add quantity value instead of adding new row here is my code: [CODE] <html> <head> <script language="javascript"> // JavaScript Document function updateSum(formID, nameID, quantityID, priceID) { var … | |
Hi I am looking to set the value of <portlet:param> tag using java script. Here is my existing code [CODE] <form name="frmname" method="post" enctype="multipart/form-data" action="<portlet:actionURL><portlet:param name="page" value="mainview"/></portlet:actionURL>"> [/CODE] And I am setting the value of the portlet:param tag by calling the following javascript on the page load event. [CODE] function … | |
Hi guys, Please help me out. I have a webpage in which there are multiple images. All i want is that when a user clicks on any image it gets displayed on the bottom left corner of the page and when second image is clicked it is displayed adjacent to … | |
Hello. I'm not sure if anyone will be able to help me with this, because I've been unable to find a straight answer on the internet, and I thought it would be something that loads of people would want to do. Let me make it clear I DO NOT WANT … |
The End.