14,054 Topics

Member Avatar for
Member Avatar for penguino138

So i'm transferring all the files from my mom's website and on a very important javascript file, I'm getting an unknown error on line 9. Here's the code: [CODE] /** * @package Kinetic Template - RocketTheme * @version 1.5.3 March 18, 2010 * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) …

Member Avatar for penguino138
0
144
Member Avatar for Buffalo101

Hello, I'm trying to understand a very simple example of using html + servlets using Eclipse EE. I have an [B]index.html [/B]: [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Ze title!</title> </head> <body> <form action="MyServlet" method = post> <input type= text name …

Member Avatar for Airshow
0
109
Member Avatar for markfw

Hi Is there a way that I can define read-only variable (Boolean, String, ...) in Javascript class? (I really don't want to use GET and SET method, basically defining them in Constructor, as every instance of my class wouldn't have the same SET and GET method) Maybe this would be …

Member Avatar for markfw
0
91
Member Avatar for raghujosh

I have a page on which I have 2 dropdowns. Both are similar. I have a piece of code that whill make a textbox appear if we select "list Box" as the option in the drop down. But for some reason, the first dropdown works fine, but for the second …

Member Avatar for raghujosh
0
2K
Member Avatar for rkayd

I'm new to javascript and need to know how to store variables in cookies so that I can later use them later in php code. Here is the basic javascript I want to use: [CODE] function alertSize() { var myWidth = 0, myHeight = 0; if( typeof( window.innerWidth ) == …

Member Avatar for rkayd
0
171
Member Avatar for lf.gene

[ICODE]<html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>PicNet Table Filter Demo</title> <script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script> <script type="text/javascript" src="picnet.table.filter.min.js"></script> <script type="text/javascript"> $(document).ready(function() { // Randomly Create Data Rows for (var i = 0; i < 50; i++) { var tr = $("<tr>" + "<td>Value" + Math.floor(Math.random() * 500) + "</td>" + "<td>" + Math.floor(Math.random() * …

Member Avatar for diafol
0
266
Member Avatar for w33n

Greetings, I was wondering if any of you could help solve this issue... I am using lightbox2 on a photo gallery page to display images. I also have flash files that I am displaying using another system called lightwindow. Both do generally the same thing (darken b/g of page and …

0
133
Member Avatar for ale89

Hi everyone! I'm using the editor CKEditor [url]http://ckeditor.com/[/url] for my forum that I developed. When I create a new topic in my forum is so good, now when I see the issue that the images you upload do not see and I look at Funt code looks like this: [CODE] …

Member Avatar for ale89
0
97
Member Avatar for jstfsklh211

[CODE] <script type="text/javascript"> //<![CDATA[ function cbUpdate() { var opt; var sel = document.info.cbShow; sel.style["display"] = "block"; sel.length = 0; opt = document.createElement( "option" ); opt.setAttribute("value", "0"); optTxt = document.createTextNode(document.info.cbSelected.value); opt.appendChild(optTxt); sel.appendChild(opt); for(i = 0; i < document.info.cbHold.length; i++)//or use ajax { if ((document.info.cbHold[i].text).indexOf(document.info.cbSelected.value) != -1) { opt = document.createElement( "option" …

0
82
Member Avatar for aqhalover

Hello! I'm fairly new to HTML and CSS, but I have the concepts down and I can do many things. I also know some very basic XHTML. I am looking to learn Javascript, mainly so I can do an effect like the advertisement that drops down on [URL="http://www.knabstruppers4usa.com/index.php"]this[/URL] website. I …

Member Avatar for e-papa
0
244
Member Avatar for dagarsac

In Jsp page some Java Script code is there . When I run the JSp file then java Script code is shown in the browser. Please suggest.

Member Avatar for toydiaz
0
54
Member Avatar for e-papa

Hi I just started java scripting yesterday, and seem to like it, please can anyone help me on the books i could use and how to get them, please will prefer them free, or opensource. Thanks in advance.

0
53
Member Avatar for lee94

I am trying to make a form and send all the entered fields directly into an email to a specific email account. if any one knows how to do this or can point me to a site that can help me i would be extreamly grateful thanks!!

Member Avatar for anilashanbhag
0
99
Member Avatar for EternityCoder

I have this code for a hover effect, it was working, but now won't. jQuery is working, but events from jquery aren't... [CODE] $(document).ready(function () { $("#logoimg").hover(function () { $("#logoimg").attr("src", "Media/imgover.png"); $("#logoimg").animate({ width: 420 }, 300); }, function () { $("#logoimg").attr("src", "Media/imgout.png"); $("#logoimg").animate({ width: 400 }, 300); }); });[/CODE]

Member Avatar for Airshow
0
202
Member Avatar for zimboden

How to detect if a browser supports iFrames? [CODE] <script type="text/javascript" > var e = document.createElement("iframe"); if('src' in e){ alert("Your browser supports IFRAMES"); }else { alert("Your browser DOES NOT support IFRAMES"); } </script> [/CODE] WHen you use createElement(), if you pass it 'iframe' it will contain specific iframe properties, like …

0
103
Member Avatar for BaSk

I have a ul and I would like to animate each li in descending order, and I'm having no luck on this. my current code it, [CODE]function menuItemsIn(){ $(".ac_menu ul li").each(function(){ $(this).animate({marginTop : '0px', opacity : '100'}, {duration : 'slow', easing : 'easeInBack'}).delay(200); }); }[/CODE] It animating all the li's …

Member Avatar for Airshow
0
661
Member Avatar for vijaygupta

hello , Iam trying to add google map fuctionality in website dynamicallly. Iam sucessfull in but noe i want my map to be opened in lightbox .i have googled and found various results but of no use .any kind of help appreciated thanks

Member Avatar for diafol
0
240
Member Avatar for ShandyElliott

I have a quantity field where I'm only allowing a max of 3 numbers (numbers only) in addition to the tab and backspace keys. I want to include the delete key, but it appears both the delete key and the "del" key on the numeric keypad share the same charcode …

Member Avatar for ShandyElliott
0
22
Member Avatar for kuri88

I need to ask the user for which layout they prefer and then change the stylesheet attributes according to that. Below is what I have done so far with prompting the user for their preferred layout. I'm not sure how to change the attributes for the different layouts like if …

Member Avatar for Amr87
0
72
Member Avatar for sasi_88

[CODE] <html> <head> <script> function A() { var oas = new ActiveXObject("Scripting.FileSystemObject"); var d = document.a.b.value; var e = oas.getFile(d); var f = e.size; alert(f + " bytes"); } </script> </head> <body> <form name="a"> <input type="file" name="b"> <input type="button" name="c" value="SIZE" onClick="A();"> </form> </body> </html> <html> <head> <script> function A() …

Member Avatar for Stefan_Lam88
0
139
Member Avatar for genzoman

I will have a page with about a 100 or so different links and I would like each one to toggle the visibility of its corresponding hidden div. For instance, if I have a county 'Johnson' when it's clicked I would like the hidden div associated with that county to …

Member Avatar for genzoman
0
2K
Member Avatar for dschuett

I have a database of invoices that have multiple attachments(which are stored in a different table) per each invoice. I have it returning the row of invoices just fine. But now I want a way to click the "view" link to call a php script to open up a jquery …

Member Avatar for tinymark
0
2K
Member Avatar for hindu times

Hey, Just a quick question. My webpage is all working fine in IE9, new Firefox, Safari, Opera, and Chrome, but in IE7 it's flagging errors to do with the Facebook share buttons (javascript). When you click them nothing shows up. I was wondering if you could tell me what I …

Member Avatar for hindu times
0
140
Member Avatar for rajeesh_rsn

Hi , I want to confirm a delete function using javascript .. In detail I want to display a list using php Mysql as follows No + Name + ---------------------------------- 1. + Raj + Delete 2. + Raj2 + Delete ---------------------------------- When user clicks on Delete button that will leads …

Member Avatar for Akash Saikia
0
149
Member Avatar for vijaygupta

hello, I have build an code for opening a map in thick box but i have problem closing it ,i have to click outside a thickbox please help

Member Avatar for tinymark
0
226
Member Avatar for aposse

Hello everyone I'm using dreamweaver CS5. I have widgets like slideshow filmstrip; youtube; and twitter im trying to upload unto my server go daddy, but it doent reconize my spry can anyone help. Aposse

0
60
Member Avatar for mikecronauer

Hi, I am trying to use AJAX to pull back mysql table information. I tried to alter an example I found (w3 schools) where they showed how use a selection table to pull a specific line out of a mysql table, using the "q" (not really sure if the "q" …

Member Avatar for mikecronauer
0
155
Member Avatar for newbi11

guys i am having problems with my jquery code . the slider that has the words "portfolio , service , contacts" etc . doesn't seem to be working here is my site here [url]http://homejobsinc.t35.com/test2.html[/url] here is my source code [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" …

Member Avatar for newbi11
0
171
Member Avatar for Davife

I have a jQuery form in which I create a series of checkboxes: <?php <form method="post" id="b-form" action="../createb.php"> for ($i=0; $i<$request_count; $i++){ <div class="request-check"> <table> <tr> <td><input type="checkbox" name="show_request[]" value="request".$i." checked="checked"/>select request</td> </tr> </table> </div> } javascript $.ajax({ type: 'POST', url: '../createb.php', data: $('#b-form').serialize(), success: function (msg){ alert(msg); } }) …

Member Avatar for Davife
0
6K
Member Avatar for devinodaniel

Hello friends! Suppose I have something similar to this HTML (this is not my exact HTML, rewritten to simplify): [CODE] <a onclick="ShowHide(); return false;" href="#">show/hide</a> <div> <div id="summary">Summary of info below</div> <div id="enclosure" style="display:none;">Information</div> </div> <a onclick="ShowHide(); return false;" href="#">show/hide</a> <div> <div id="summary">Summary of info below</div> <div id="enclosure" style="display:none;">Information</div> </div> …

Member Avatar for devinodaniel
0
103

The End.