20,316 Topics
I'm trying to perform multiple inserts into a table present in SQLite database using JavaScript. For this purpose I'm using Transactions. Here is my code (HTML + JavaScript): <html> <head> <script language="javascript"> var shortName = 'Test'; var version = '1.0'; var displayName = 'Test'; var maxSize = 65536; db = …
I have a multi form, In a form, i have the <back and Next> button. So i used the form action in these to button, I also have a validation which i did using javascript , [CODE] <head> <script type="text/javascript"> function validate_name(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false} …
Hi there, i have a bit of a problem with integrating CKeditor... I have a dynamic dropdown select box filled from MySQL, i have followed an Ajax tutorial on W3 schools [url]http://www.w3schools.com/php/php_ajax_database.asp[/url] on how to get the selection pulled from MySQL to populate a textarea where it can then be …
[QUOTE=me655321;1078383]Oh ok...you need to use scale="exactfit"... [CODE] <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" WIDTH="400" HEIGHT="200"> <PARAM NAME=movie VALUE="Images/Directions/map.swf"> <PARAM NAME=scale VALUE="exactfit"> <EMBED src="Images/Directions/map.swf" WIDTH="400" HEIGHT="200" TYPE="application/x-shockwave-flash" SCALE="exactfit" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT> [/CODE] That should do it for you.[/QUOTE] Please help me to view an .swf video in fullscreen mode by default. When the user …
Hi everyone. I, like the majority of us web developer's, despise internet explorer. So on my site, i want to put something in just for the fun of it that detects IE and says something. Right now i have just a plain alert asking to please change to a different …
I got a simple javascript function in my asp.net page that just checks to see if one value is smaller than the other. The condition value is 15000.00 and i'm comparing it to 920.00 Why does it evaluate to false? [CODE] var moo= 15000.00; var orig= 920.00; var bool = …
I have two files which has two types of profiles (user and Admin), Now the problem is how do i create a session which if im a user takes me to the user page and when im admin takes me to admin page!!!
I've tried google and this site but cant seem to find anywhere to start? I'm trying to make a character limit one then automaticaly go to the next open text box.
Hi, I have a javascript function to disable and enable a textbox. [CODE] <SCRIPT LANGUAGE="JavaScript"> function enable() { document.form1.tmphone2.disabled=false; document.form1.pmphone2.disabled=false; } function disable() { document.form1.tmphone2.disabled=true; document.form1.pmphone2.disabled=true; } </SCRIPT> [/CODE] I need to call the function in a php code, on condition Heres my code: [CODE] <?php $cc = $row['company_country']; $s …
Dear all, can you please help me with a small timer problem.i dont know why but firefox is not displaying the small clock from my codes, though javascript is enable. <html> <head> <script type="text/javascript"> function startTime() { var today=new Date(); var h= today.getHours(); var m= today.getMinutes(); var s= today.getSeconds(); //Now …
A bit of a lame request - I just don't have a lot of time to look it up.. I need a script to login to a website (outside my domain) and then make a very simple web request. How do I go about doing that? Thanks.
Hi guys I'm hoping someone can help me out here. I am using the JCarousel plugin on a site im building. I have it installed and I am using 2 buttons to hide some of the carousels items. I am using the following code to do so: [CODE]<script type="text/javascript"> function …
hello i need a code to get my cursor position in the desktop
im trying to get an image scroller to work that i found in a code library. its working fine in firefox but not in inet explorer this is the link to the scoller... http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm i am just interested in the image part. ive deleted the script for the text part …
Hello everyone I have created a basic chat window in that i used textarea to enter message but by default it is taking a tab i.e., initially cursor isone tab ahead instead of being at initial position of textarea . Can anyone help me??????
here is my code ajaxtest1.php <!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> <script type="text/javascript"> function getXMLHttp() { var xmlHttp try { //Firefox, Opera 8.0+, Safari xmlHttp = new XMLHttpRequest(); } catch(e) { //Internet Explorer try { xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { xmlHttp …
Hello, I'm new at this forum, let me just point out I'm not a developer, I'm just a designer who has to strugle to do simple things that work, all by myself - and I'm usually successfull... but not this time, I have searched and searched literally for hours, and …
Hey Guys. I cant actually think of a way to do this. Let me rephrase my question. I essentially want a perl script to run based on something that i am doing in javascript. for example: <javascript> if(x == 1) { then run the perl script. } </javascript> i dont …
[CODE]if (window.XMLHttpRequest) { xhttp=new XMLHttpRequest(); } else // Internet Explorer 5/6 { xhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xhttp.open("GET","cd_catalog.xml",false); xhttp.send("");[/CODE] ============= this code working in IE but not working in Other Browser pls help me
I am using prettyPhoto ([url]http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/[/url]) and some ajax together. I am trying to figure out how to get the responseText that contains the links with rel='prettyPhoto' to actually work. Or really how to get any js to work as responseText. Not really looking for anyone to do it for me …
Hi, I am looking for a way to use minimal javascript to open a popup window when the user clicks on an input field and allow them to choose one string inside the pop up window (like click on a radio button) and get the input box in the parent …
How to calculate between date in html form fields? Calculate: Date (dd/mm/yyyy) --> 12/12/2010 minus 29/08/2009 Answer: 1 years, 3 months, and 14 days
Hey guys, Just wondeing if anyone knows of any jquery plugins or carousels that can give me one like seen here [url]http://www.puma.com/us/en/pindex.jsp[/url] specifically being able to change the items in the carousel? Or any articles on how to make one like it would be good too!
hello every one i am creating an web site with the help of master & container pages in one container page an ok button is available. now when i press shift + 1 the button text is changed from ok to find can any one tell me the script for …
I have 4 static control like textbox and checkbox and i'm created another dynamic control using button so i want to save data using ajax give me solution
Hello, I'd like to say hello to everyone first. I was reading a few threads and this forum seems great, and I was wondering if anyone could help me. I'll just right into it. I'm really starting to hate IE :( I'm a web design student, and have been trying …
Hi My problem is that I want Other textbox tobe deactivated when page loads, but when user selects Other drop down box of Company Certification: then Other textbox should be activated. [URL="http://www.oemxtrade.com/index.php?main_page=create_account"]Please see here [/URL] Here is the PHP code which is displaying this page [CODE] <?php echo "<select name=\"company_certification\">"; …
I am really confused. I want to make a <p> tag hidden using javascript, and then, if i detect its running IE, i want to make it visible. I can't even make it hidden though. I have tried [CODE]<script type="text/javascript> document.warning.style[visibility] = 'hidden';[/CODE] i've tried [CODE]<script type="text/javascript> document.warning.style.visibility = 'hidden';[/CODE] …
Hello, I have a php page that I am using AJAX to populate some check boxes based on a selection in a drop down box. Now, I'd like to expand that functionality to do something similar to this: [url]http://www.dhtmlgoodies.com/scripts/multiple_select/multiple_select.html[/url] However, the troubling part is that I can have multiple groups …
Hi I am developing a site with something like below as the structure. The nav container holds a flash nav swf. I built a toned down lightbox effect and the popup is the center of that. Safari, FF pc, IE6, IE7 all work fine, but firefox mac still layers the …
I'm new in this forumm, newbie in javascript and my English isn't good enough. I hope everyone can understand what I am going to ask. I am trying to make a bookmarklet for an apps in facebook, which is working with Iframe. The bookmarklet that I want to build is …
Hi, My site: [url]http://www.orchot-hagilboa.com/index.php?mid=1[/url] My jquery form is working properly in most areas except where i have an online wysiwyg editor. If you look at the right side of the site, you will see the editor. It creates a textarea form field. When i send the form, the reply_desc (textarea …
i have a top frame with a webpage. i have a bottom frame with the javascript. I'm trying to get the url of the top frame with javascript. the top frame id is link_frame. i'm trying get an alert box with the top frames url. the code i tried isn't …
I have a web page that contains a bunch of advertisements. What I need to do it randomly shuffle these images each time the page is refreshed. I cannot have any repeating ads. Here is the code I have now.... it repeats images. [code] <html> <head> <script type="text/javascript"> function random() …
Greetings. I am using this code for a photo gallery. <script language="JavaScript"> function LoadGallery(pictureName,imageFile,titleCaption,captionText) { if (document.all) { document.getElementById(pictureName).style.filter="blendTrans(duration=1)"; document.getElementById(pictureName).filters.blendTrans.Apply(); } document.getElementById(pictureName).src = imageFile; if (document.all) { document.getElementById(pictureName).filters.blendTrans.Play(); } document.getElementById(titleCaption).innerHTML=captionText; } </script> With an onclick statement like this: <a href="#_self" onclick="LoadGallery('Gallery', 'image.jpg', 'Caption', 'captiontext')">Link</a> It totally works but I would …
My page is not displaying correctly in Internet Explorer. Its displays properly in all other browsers. The issue: Internet Explorer When the page is loaded-- Internet Explorer places DIV tags between the the <LI> elements on my page and in other areas of the controls which have been dynamically added …
Hey, I'm trying to create a website for a friend, which involves a login system, with registering users, and then booking places on weekends away. I have no knowledge of javascript, but would like to use it for client side updates, I only have a week or 2 left to …
hi there i need help please to create a ajax drop down list which loads text files in a div tag from the user choice.so if the user selects western adventure it will load up the text file onto the slected div tag without refreshing the page drop down list …
I've got a 101px x 101px div with a background image and words of text. I've attempted to make the whole div a hyperlink but it only made just the text a hyperlink. if you check my website [url]http://www.stackway.com/stack.php[/url] , when you click the word then the correct hyperlink comes …
After clicking the checkbox, I like to get the value of the checkbox submitted. Why the following page always get the value "20" for checkboxChoice and checkboxvalue no matter which checkbox I clicked? Please help. [CODE] <tr> <td> <div class='fg1'> <input type="checkbox" name="checkboxChoice" value="20" checked onclick="submit()"> Choice </div> <input type="hidden" …
Hi All, i want to develop a realtime stock updation chart with js,Ajax,MySQl and Eclipse. Environment with MySQL,JS and tomcat is established. Now how can i start with the use of Ajax into Eclipse and go through dis module is there any source example or code available ? Thank u …
I have the following html [code] <html> <head> <title>Voucher Usage</title> <script language="JavaScript" type="text/javascript" src="js/voucher.js"></script> </head> <body onLoad="document.VU.Number.focus()"> <form name="VU" id="VU" method="post" > Voucher Number: <input type="text" size="20" maxlength="20" id="Number" name="Number" onChange='submit_click(this.value)'><br /> <center> <div id="loadingNode"></div> </center> </body> </html> <script language=javascript> function submit_click(VoucherNumber) { if ((VoucherNumber[0] == ";") && (VoucherNumber[strlen(VoucherNumber) -1] …
hi frnds.. i am using while loop for getting more records..in this having [B]div[/B]..i need to change div name dynamically...but right now i cant do that code...plz change the below code..... [CODE] <DIV id="div_MoviePicRate" name="div_MoviePicRate" class="text2_grey" align="left"> <IMG alt="I Agree, Your life Sucks" src="images/up.png" style="cursor:pointer" border="0" onclick="javascript:TF_RateThumb(<?php echo $p_id; ?>,<?php …
Hello all, I am using IE. I have dropdown list with <select><option></option></select> on which i cannot provide custom tooltip on hover, because <option> will not support onmouseover event. so i am now supposed to create one custom dropdownlist [B]not using <select><option></option></select>.[/B] may be using combination of <table> and <textbox> on …
I have a website where i use AJAX script and display the output in the Combo Box but i have problem: Combo Box Return values like : 22 23 24 25 (All in one line) But Values should like Combo box values : 22 23 24 25 How i can …
I would like to be able to change the "wrap" attribute for a textarea with javascript. That is unless you can provide a cross browser solution in css2, giving me the ability to just modify the css attributes. Thank you in advance.
I have a website, where i want to use ASP error handling code like instr function which works as Java script. I have two web pages, one have web forms and second one is database insertion. I want to handle error code on runtime.
i have a dirctory full og images starting from 1.png to like 55.png not skipping a number. im going to keep adding to the directory in consiquative order. how do i have an image show on a page and then it get clicked on and then it turns to the …
Hi, I am using component art grid. I would like to add tooltip for column in the grid. when mouse hover on the column i have to show the data of the column in the tooltip. can you please help me with this issue. Thanks
How can I set a time limit for a user to stay on a web page. Let me explain it to you; Let suppose I've two web pages, page-A and page-B. When the user is on page-A, he needs to stay at this page for 30 secs before going to …
The End.