15,120 Topics
| |
hi all. i'm struggling with the following code - can't seem to get the variables within the function to work... [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>Teabag calculator</title> <script language="javascript" type="text/javascript"> var single=0; var dbl=80; var total=single + dbl; … | |
Hello, I have a div (#disclaimer) that has the css property of "display:none." The following jquery script is supposed to show it when the #test select option is clicked. The #quest,#comp,and #other divs are supposed to hide it again. It works fine in FF but does not work in IE. … | |
Hi, I am in a unusual situation and cannot get my JavaScript to work. I need to have all of my JavaScript in one external file that I link to in the header. However, some of the JavaScript in that external tag needs to appear in a certain place in … | |
Hi, I'm working on one sites and having troubles with these: I have tables catecogires and subcategories in database. When user add article, he select categorie from select tag and under that tag appears another select tag with subcategories of selected category. Code in jquery: [CODE] $("#ka").change(function(){ function PostaviPodatke(podaci){ $("#pka1").show(); … | |
Hello, I'm completely new to JavaScript. My project requires to display path from pointA to pointB on GoogleMaps using gps coordinates. For now all I'm trying to do is to display google maps webpage to start off. Using an online editor I was able to do that but when put … | |
Hi All: I am trying to load an image into a div using AJAX. Instead on loading the image, I get �PNG as the result in the div. Does anyone know how to load an image into a div? Best Regards, dennishall | |
Hi, I'm pretty sure this would be something I'd need javascript for. What i want to do is to recognize when a user presses the enter key while active on a text area and to insert a new line | |
Hi everyone, I'm writing because I have a client who has a relatively obsolete order form based on tables in place of CSS -- I would do a complete overhaul but right now we don't have the time, however right now although the form relatively works, there is an issue … | |
I am very new to JavaScript. In our class we were assigned a project to create a Web page with 5 text boxes, each with a value attribute of zero. When the user changes the values, it is supposed to call a caclAvg() function. How do I pass 5 values … | |
Hi all, I am able to run perfectly the following [CODE]<li><a href="javascript:ajaxpage('login.php', 'ajax');">Login</a></li>[/CODE] But not the following [CODE]echo "Welcome Guest!<br><a href=javascript:ajaxpage('login.php', 'ajax');>"[/CODE] I removed the " around the javascript:ajaxpage('login.php'); as it was giving me syntax error. But I am unable to cal login .php upon clicking Login. I tried various … | |
hi, how to call code-behind function in java scrip. i am working on asp.net please help me to call the procedure with js. thanks in advance. jack | |
Hello Everyone :) I was just wondering, could anyone help me with codding my own JavaScript application for my HTML format website, if so please [URL="http://www.hotmail.com/james.smith@hotmail.co.nz"]E-Mail me[/URL] Or [URL="http://www.signup-memberforums.webs.com"]visit my website[/URL] and leave a new subject Thanks for helping. (If the [I]Email Me[/I] link doesn't work,E-Mail [I]james.smith@hotmail.co.nz[/I] | |
Hello! I am creating live chat using AJAX. My script updates every 1 second. I'm interested if it's possible to update the chat, only the time of adding comment by someone. I want the server to send me request for my script, about chat updating, when someone add comment. thank's … | |
Hi All, I have one index.php like below ..... ...... <head> <script type="text/javascript"> ajax function to call page1, page2 etc... </script> </head> <body> <div id="leftcolumn"> <a href="javascript:ajaxpage('page1.php', 'rightcolumn');">Page1</a> <a href="javascript:ajaxpage('page2.php', 'rightcolumn');">Page2</a> <a href="javascript:ajaxpage('page3.php', 'rightcolumn');">Page3</a> </div> <div id="rightcolumn"><h3>Choose a page to load.</h3></div> <div style="clear: left; margin-bottom: 1em"></div> </body> </html> Now if … | |
Hi All, I am new to Ajax. I wrote my first script with the help of Google :) Please let me know the mistake. I have three menu and it is supposed to load three pages. I used firebug but unable to see any error. [code=ajax] <!DOCTYPE html PUBLIC "-//W3C//DTD … | |
Hi !! please send me the javascript by which user will be able to enter only alphabets | |
hey guys i have a image around 995x700. and i'm about to change up a couple things on a site i'm working on and want to add a mouseover event (or something like that) to it. i certain areas, i would like the user to mouse over and see a … | |
Can any one tell the diffrence between Asynchronous AJAX and Synchronous AJAX ? | |
can anyone plz tel1 me about the horizontal scrolling in javascript????means another web page slides over another web page... | |
Hi All, I just want to share my simple program :-) [url]http://www.momococo.com/nmbp/ajax/virtual_edc_sales.php[/url] Isaiah 9:6, Isaiah 7:14, Matthew 1:22-23, Jude 1:5, 1 John 4:2-3, I Timothy 3:16 [url]http://armandecastro.wordpress.com[/url] | |
I am very new to Javascript... More of a php kinda guy. However I have a question regarding the old explorer browsers. I'm using transparent pngs on my site that rollover when the mouse hovers over them. Obviously the pngs are not looking so hot in the old explorer but … | |
hi all, I have a html code like <select id="search"> <option id="21" value="internal"> . . . using document.getelementbyId("search").value i get internal but i need to get id of internal.. how can i do that help me.. | |
Hello, I am trying to find how to use custom tags in html and render data based on their use. A good example is the joomla <jm:whatever> tag. I found the following article: [url]http://msdn.microsoft.com/en-us/magazine/cc301515.aspx[/url] I think it might be outdated though because the behavior:url element does not seem to work. … | |
Can anyone suggest how can i parse the below xml file using jQuery? <attendees> <attendee>83b802430047d026858de37c8aa3dec5</attendee> <attendee>ab4925dc6a2d92e15de675aefe497e46</attendee> <attendee>27f865406965950e915b2f6e7128ba1d</attendee> </attendees> | |
Can anyHere my code: [CODE] <script language="javascript" type="text/javascript"> jQuery(document).ready(function() { $('#countdown_dashboard').countDown({ targetDate: { 'day': 17, 'month': 9, 'year': 2010, 'hour': 1, 'min': 0, 'sec': 0 } }); }); </script> [/CODE] | |
hey guys i have used jquery tabs in my website design. In one page i have 4 tabs and in each tab i have save and clear option . if i click on tab 3 and enter the contents and then save its returning back to tab1! I want it … | |
Hi I Have a web method on the Server. Below Is My Web Method. ASP.NET Syntax (Toggle Plain Text) [WebMethod] public string GetAge(int year, int month, int day) { DateTime birthDate = new DateTime(year, month, day); long age = new DateTime(DateTime.Now.Ticks - birthDate.Ticks).Year - 1; return "You are " + … | |
<?php require("db-connect.php"); $slt ="SELECT * FROM assingment2 ORDER BY user_id asc"; $qry =mysql_query($slt); ?> <html> <head><title> </title> <script language="javascript" type="text/javascript"> function setcourse() { var index_name=document.frmselect.name.selectedIndex; document.frmselect.course.selectedIndex=index_name; } </script> </head> <body> <form name="frmselect" id="frmselect" action="" method="post"> <table align="center"> <tr> <td><b>NAME</b></td><td> <?php while($ftch =mysql_fetch_array($qry)) { echo'<select name="name" id='.$ftch['user_id'].' onChange="javascript:return setcourse();">'; echo '<option … | |
Hi,I just want to know if there is a script to display jquery when on mobile devices and flash when on computer browser? Any help would be greatful! :) | |
Hi everyone, I have a simple javascipt code, everything works great but checking the username's and email's avaibility takes too much time. Here is the code : [CODE] $('.send').click(function(){ $(".error").hide(); var hasError = false; var mail = $('#mail').val(); var user = $('#user').val(); var pass = $('#pass').val(); var phone = $('#phone').val(); … |
The End.