15,121 Topics
| |
Please help me solve a problem on passing the value form javascript function to the 'hidden' form and the form will be submitted to the php code for processing the data. Here are my codes below: First i have a link which will trigger the function 'passValue()' that holds 3 … | |
hi All. I have taken from internet javascript code that add bb tags to the selected words. but in the documentation of this script it is said that without selecting text it must also add bb tags and when add bb tag at the end of text it automatically closes … | |
hi, am working on a project called online store using java. For the navigation menu bar i used javascript in a jsp page. The problem is am unable to see the image in navigation bar. Since i have no thorough knowledge of javascript please rectify me.Here is my code [CODE] … | |
Hello, I'm displaying information, but I'm trying to figure out how to create a button that says "change details" and in the exact place of the displayed information, there will be input fields where you can change details ex: Color : Blue Size : Large (link or button for change … | |
hey guys could anyone quickly show me how I'd go about combining these: [code] $(document).ready(function(){ $("#generate-quote").click(function(e){ e.preventDefault(); $.getJSON("generator.php?", {act: 'char_con', bc: '1'}, function(data){ $(".quote").html(data); }); }); }); [/code] [code] $(document).ready(function(){ $("#env").click(function(e) { e.preventDefault(); $.get("char_con.php?", {act: 'char_con'}, function(data{ $(".q").html(data); }); }); }); [/code] Right now they obviously do different things, but … | |
Hi, I have a button: [CODE]<input class = "save" type="button" value="Išsaugoti" />[/CODE] As you can see the type is not submit, it is just button. This is because I want to not allow submission if javascript is disabled. To submit I run this code: [CODE] $('input.save').click(function() { $('form').attr( 'target', '' … | |
Hi, I'm new bee to JSP.I'm newly joined in company they want to finish this today please help me. I need to check form field contains existing data(want to check database) are not. if that field contain existing data it wants give alert.., In database i set projectcode as Unique.if … | |
hi, i have a problem with my code. i am trying to shift pictures as the mouse hovers over the link..but nothing happens! [CODE] <div id="FAQ"> <ul> <b> FAQ <li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_14.gif ' ">What does the Bronze membership include?</a> </li> <li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_06.gif' ">What does the Silver membership include?</a> </li> … | |
What is AJAX?i have heared about it but i dont have any knowledge about it?does it have a good scop? | |
Please help.. i need a script for this problem. i have 2 different departments, one is accounting and the other is payment. it should be the accounting page will create a transaction and when the transaction has been done, the webpage of the payment department will automatically show that there … | |
Hello if my page outputs a certain item number from my database, how do i put that item number into my javascript? [CODE] '<div class="update".$item_id.">'; [/CODE] say i have $item_id and it various how do i put it into javascript code? would it be the same thing? I can just … | |
Hai i'm new to the ajax please help me to resolve this my problem. Following is the ajax code i'm using. If the ready state is 4 i'm assinging 1 to 'y'. after that if i'm going to print y it's showing undefined. what is the wrong with my code. … | |
Hi All, I have req. of converting HTML DIV tag to image using javascript in asp.net. is there any idea how to do it? Thanks. | |
Could anyone just help me out with this. I'm trying to get my AJAX to simply echo what's in my php file when a click a link: AJAX: [code] $(document).ready(function(){ $("#gentest").click(function(e){ e.preventDefault(); $.getJSON("char_con.php?", {act: 'char_con'}, function(data){ $(".x").html(data); }); }); }); <div class="box"> <a href="#" id="gentest">Generate Quote</a> <div class="x">TEST</div> </div> [/code] … | |
Hi Guys The following question is related to the following url: [URL="http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/"]http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/[/URL] I have just a small question now regarding the dropdown. I am sure its related to an 'id'. Here is my script: [CODE] 1. <td><?php echo "<select name=\"field1\" class=\"qty\" onchange=\"calcTotal();\">"; ?> 2. <?php 3. for($i=0;$i<=50;$i++){ 4. echo '<option … | |
Hi there, I am having a Javascript problem and any help would be apprecated. I am trying to test the input for if length = 1 then add on a 0 as this would mean if the user wanted £1.20 if would come out as £1.20 and not £1.2 as … | |
Hi all. I currently have an issue where a javascript drop-down menu I have is displaying below the javascript slide show I have on the same page. I know this issue has something to do with the slideshow part having position:relative but how do I fix it? Works fine on … | |
Hello . I'm not sure what is wrong in my code. I'm trying to expand table row to see more details from mysql query . The idea is to click 'show / hide ' link and on that onclick event the row below need to be expanded.Here is my code … | |
hey people . i want to create a a posting system , not the usual one , i want to create a posting system like the wordpress one , it should provide add image and fonts and sizes and it automatically add new lines , i shearched in google for … | |
I would like to somehow get both of these identical slideshow scripts working at the same time. Any help would be much appreciated" [CODE]<!-- dress --> <div class= dress> <div style="position:absolute; background-color:transparent; border-color: #000000; border:0px solid ; top: 443px; left: 346px; width:397px; height:255px;"> <script language="JavaScript1.2"> var variableslide=new Array() //variableslide[x]=["", "", … | |
Hi, I currently created a video uploader, but when the video is too big in size, the page seems to be not doing any until the video is completely uploaded. I want to put somewhat like "loading.. please wait" script until the video is not completely uploaded. Thanks. //Ana | |
Hi all, i need help in unsetting session variables through ajax thanks in advance | |
I want to add a + - for collapse and expand all. I would prefer to have them change accordingly but it isnt necessary. this is my javascript var toggleMenu = { init : function(sContainerClass, sHiddenClass) { if (!document.getElementById || !document.createTextNode) {return;} // Check for DOM support var arrMenus = … | |
Ok so before I posted this I have been working on this code off and on for 2 weeks. Its probably so simple for someone. If any one could get me out of my rut I would so appreciate it! Basically I'm trying to get a select box to display … | |
Hi! I want to parse data from tables in webpages , there are no problems when I parse regular HTML tables, but it seems to be impossible to get any data from dynamic pages that update themself automatically. Do you have any clue how to extract data from dynamic web … | |
Hello all, I am just learning AJAX because I find it interesting but my first example does not work the way I planned it. Here is the code: This is my HTML file named ajax.html <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="" /> <title>Untitled 3</title> <script type="text/javascript" … | |
Hi All, I have a function reloaddash(1); for refresh the db.js in db.js file which sends a ajax request to the action file. In this .js itself I draw the table,td,tr for display. I dont use seperate .jsp file to draw. By onclick a link in this js file I … | |
| Hi everyone, I'm naive to javascript as well as JSP. I'm involved in a project where i need to code a web page similar to shopping cart type of thing. The user selection needs to be displayed in the same page dynamically using JavaScript and then after confirmation from the … |
.olddiv { overflow:visible; background-color:#1D41A4; padding-right: 10px; padding-bottom: 20px; padding-left: 10px; } <div id="old" class="olddiv"> My text that overflows is visible but it does not have the div's background color. How do I get it to keep the background color? | |
Hello, I was wondering if it is possible to restrict the values of a text input box to only accept set values such as "XBC1". I am trying to make a form for a scanner so you can scan bar codes and it will auto fill the form out and … |
The End.