15,127 Topics
| |
So I have being asked to create something in JavaScript and was told what they want it to be like, since I am beginning JS amongst other web development languages. Anyway have a look at the image and let me know if it is possible to do with JS or … | |
Hi I am quite new to web developing and I am starting to struggling with this code. I am basically trying to enter a name along with a mark and store this in a javascript cookie. From this I want to create the mean and graph for up to 100 … | |
I would like to show a Div based on the URL. I'm using PHP to update a database and the page just refreshes when it's done. I'd like to set the URL to something like [url]http://www.whatever.com/update.php?id=5&ud=y[/url] So if the URL had ud=y in it, it would show a div with … | |
No idea if this could be done by just javascript but don't know where else to post it... I have a contact forum where i want the visitor to select if they're a member of not, if they select no, nothing happens but if they select yes a new text … | |
Friends, Can we add a panel into a editorgridpanel in ExtJS? I have a Ext.list.listview which i want to add it into a GridPanel. I can add textfield, combobox, but listview not workrd out. Can anyone help on this. --thanks, ramjeev | |
I'm a newbie at this so couldn't figure this one out. [CODE]<html> <head> <title>Test JavaScript</title> </head> <body> <script type="text/javascript"> var frst=true; function first() { if(frst==true) { window.alert('Don't forget to Capitalize.'); } frst=false; } </script> <form> <input type="button" value="Derke" onclick="first;" /> <select> <option>color</option> <option>smell</option> <option>rain</option> </select> <br /><br /><br /><br /><br … | |
[CODE]<script type="text/javascript" src="http://maps.google.com/maps?file=api&sensor=false&key=APIKEY"></script>[/CODE] [CODE]<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&key=APIKEY"></script>[/CODE] I am trying to integrate our map overlays with a great Google maps Tooltip script I found, but I can only get the overlays to work when calling the first script, and the tooltips will only work when I use the second script. Does … | |
Hi, in a "contact us" page named contact.htm that has some input textboxes, a submit button, and a reset button. When I fill out the fields and click Submit, it posts to an asp page that sends an email. What I want to do is to clear out the input … | |
I am tryin to embed youtube in my webpage. I am a starter so i might be doing something wrong here. can any please help me on this. I have included the swobject. [code=html]<html> <script type="text/javascript" src="swfobject.js"></script> <div id="ytapiplayer"> You need Flash player 8+ and JavaScript enabled to view this … | |
I am tryin to embed youtube in my webpage. I am a starter so i might be doing something wrong here. can any please help me on this. I have included the swobject. [code=html]<html> <script type="text/javascript" src="swfobject.js"></script> <div id="ytapiplayer"> You need Flash player 8+ and JavaScript enabled to view this … | |
8:16 pm on Apr 28, 2010 (utc 0) I currently have a website that I am using SPRY Accordion on for the navigation. anu-d dot c o m When I try to add another javascript element the SPRY Accordion stops working and the javascript element I am adding does not … | |
[CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>JavaScript Window Open Example</title> </head> <body> <SCRIPT language="JavaScript1.2"> function openwindow() { location('http://www.google.com','_self'); } </SCRIPT> <P> <input type="button" value="Replace Me!" onClick=" window.location = 'http://www.google.com/' ; "> <A href="javascript: openwindow()" >LINK 1</A> </P> <P>Back to the article:<br> <a href="http://google.lk" target="_self">LINK 2</a> </P> … | |
Hello again, After my previous post I have tried to convert all my jQuery into JavaScript with success. UNTIL I looked at it in Internet Explorer and again it threw a wobly and is now having a go at my [icode]--.style.display='block'[/icode]'s. It says that it is not a function. So … | |
I have button and <input type="button" onclick="test();" value="dugme"/> [B]wont call test() [/B] with alert(bla bla) directly works,but wont call my functions why???????????????? here's the complete code [CODE]<html> <head> <title>moje vezbanje</title> </head> <body onload="alert('sdfsfd')"> <script type="text/javascript"> //alert("jhgfgh"); function klasa() { var nazivLinka = document.getElementById("prvo").value; var url = document.getElementById("drugo").value; //alert(nazivLinka); //druga.createNode(input type="text" … | |
Hi, I need some help detecting the escape character ''. It doesn't show up when it's in a string. I'm trying to convert '/' into '&&' and '\/' into '||'. Help is much appreciated. Thanks. | |
How do I use hour glass in java script? I have a jsp page, I'm calling in the javascript when I click the submit button like below. [CODE]function show(table) { document.forms["form1"].action ="employee.do?"; document.forms["form1"].submit(); document.forms.style.cursor = 'wait'; }[/CODE] [CODE]jsp Page: <html:form action ="/doemployee" method ="post"> <table> <tr> <td> <input type="button" name="emp" … | |
I discussed yesterday how to access to members of JavaScript objects? var obj = {a:1}; value = obj.a; value = obj['a']; value = obj.geta() Are there differences in speed while accessing with dot notation, key notation or more java-like getter function? But the more complete solution can found on [URL="http://united-coders.com/christian-harms/javascript-object-access-micro-benchmarks"]united-coders.com[/URL]. | |
hi all please send me the code of autosuggest with database in php and in the html only textbox autosuggest fill with database. Reply as early as possible. | |
hi below is the code i am using to try and execute a pdf report. now the following code i saved in a separate file in the website folder itself. and in the form that contains the print button, when clicked i want it to execute the code in the … | |
[CODE]<?php //redirect the user to login if session is invalid include("validate_session.php"); $alert =0; $userid=$_SESSION["userid"]; //Connecting to database include("db_connect.php"); foreach ($_POST as $key => $value) if (substr($key,0,8) =="txt_chk_") { $alert =1; $itemid=substr($key,8,3); $purtime=substr($key,11,8); $purdate=substr($key,19,10); $itemdate=substr($key,8); foreach ($_POST as $key1 => $value1) if ($key<>$key1) { $tempstr= substr($key1,0,strlen($key1)-strlen($itemdate)); if (substr($key1,strlen($tempstr))==$itemdate) { if ($tempstr=="txt_qty_") … | |
hey i need some helpn with some conversion the link currently links the item id to the shopping basket i currently have a submit button on my site which looks like this <!--<input type="button" value="Add to Cart" onclick="addtocart(<?=$row['itemid']?>)" />--> and is linked to this script <!--<script language="javascript"> function addtocart(pid){ document.form1.productid.value=pid; … | |
Dear Friends, im creating a website in which i get a response of my XML request from server. Searchhotel.aspx create the [B]request[/B] and listofHotels.aspx get the [B]response[/B] on its Page_Load event. Currently when i click on Search button from Searchhotel.aspx page it remains on Searchhotel.aspx Page and only display listofHotels.aspx … | |
I have two php files. index.php [code] <html> <head> <script type="text/javascript"> function openG() { window.showModalDialog('profile.php'); } </script> </head> <body> <input type="button" value="Press" onClick="openG()"/> <?php extract($_GET); if(isset($yes)) echo $yes; ?> </body> </html> [/code] and a profile.php file [code] <html> <head> <script type="text/javascript"> function woot() { window.close(); } </script> </head> <body> <form … | |
i am useing Javascript Function's for validation Its Working Fine But If Condition Not Matches Its Not getting Focus On That Control. cursor Going To url ...is There Something with Post Back....Plz Reply Thanks & regards Kaustubh | |
I want to place all opening tags in an array. In the example below, the following array should be created: [code] var tagsOpen=new Array(); tagsOpen[]='<h1 class="h">'; tagsOpen[]='<p>'; tagsOpen[]='<strong class="w">'; tagsOpen[]='<p>'; tagsOpen[]='<span style="color: red">'; tagsOpen[]='<span style="color: blue">'; tagsOpen[]='<span style="color: green">'; [/code] That array should be dynamically created from this: [code] <!DOCTYPE … | |
Hello all! I have a javascript running on my site at [url]http://www.kayoss.net[/url] that disables right clicking (viewing source, saving pictures, etc.) that works beautifully in IE...but not in Firefox. Does anyone know of a solution? | |
Hi Been trying to use the json_parse function from the json.org website - looking for a link to a tutorial (or a short example) to show how i would use it to cycle through a list of responses - in this case im returning a JSON object with an id … | |
Hi everyone, Im having some issues with a website that im working on. The website have mysql database and all of the server side code is done in php, therefor all of the files are named with a .php extension, I know it shouldn't make any different but for some … | |
Hi, Do you know a good, free to download book about AJAX (pdf, djvu, chtm?, any)?? Plz, give a link!!! THNX!!! | |
I've got a table in an html document im writing, and i have two separate cells which need to pull parallel information. For example, a book title and a summary. The book title and book summary need to be from the same book... Ok, so i have one array with … |
The End.