20,316 Topics
I'm trying to create a simple gallery for comics I have created. I have a main divider, which contains two tables. The first table is for navigation, which contains a drop-down menu with a button. The second table is for content. When the user chooses on option in the drop-down …
[URL="http://docs.sun.com/source/816-6408-10/"]http://docs.sun.com/source/816-6408-10/[/URL] [B]This book is a reference manual for the JavaScript language, including both core and client-side JavaScript for version 1.3. JavaScript is Netscape's cross-platform, object-based scripting language for client and server applications.[/B] [B]Grabbed using Internet Download Manager Grabber for offline usage :[/B] [URL="http://www.fileserve.com/file/J8GQUgu"]http://www.fileserve.com/file/J8GQUgu[/URL] [URL="http://www.mediafire.com/?hagu8fzjf20mrww"]http://www.mediafire.com/?hagu8fzjf20mrww[/URL]
How to do this? I read that it is done in event.
How to do this? Some said I need to use requiredfieldvalidators for this. Will these affect my other validation with no requiredfieldvalidators?
I have a radion box that has the values private public and friends but i cant't seem to get it to reset to the default value using javascript?? [code] document.getElementById('emailsetting').checked='private'; [/code]
Hi I'm a Javascript newbie. I am displaying list of things in my Jsp page. each row has two drop down menus and a radio button. When the submit is clicked it sends the index of the radio button clicked as a hidden parameter. I need to get the drop …
Hi all, i need a little help with some code that should display a gif image while a page loads. i have a php page with a link that users can click and it should load a page via ajax as an overlay over the current page. the problem is …
Hi, I would like to have the same running clocks as on page: [url]http://marketindex.rbs.com/uk/Home.aspx[/url] I downloaded swf file: <URL SNIPPED> but can someone write how to create a code to display that object working on webpage? Thank you!
Hello, I have gridview which has checkboxes for Approve and Disapprove in each row. I have applied JQuery on the gridview on it for paging. Now i want to access the Datakey value for the checked and unchecked boxes in the gridview and accordingly save it to the database. I …
Hi, i have a submit button which adds data to a DB, id like a pop up window to open after the user clicks the button and the submit operation has been completed... (the pop up window will display the submitted data) while tesing on a local host i (naively) …
can anyone tell me what code should i use to print when i click the button it'll automatically print the page? or any other suggestion?
Hi everyone. I've run into another problem :( I have 3 JS files I want to include in my page. The first one is defined statically in the html file. The other two are loaded into the DOM using the following function: [CODE] function loadJsFile(pathToFile){ var headID = document.getElementsByTagName("head")[0]; var …
Hi I am creating a drop down menu and i want to be able to select the elements that will be in the drop down list (the nested parts of my html <ul> list). I want to do this so that when the user hovers over the visible part of …
I need to make a form with a few options could be radio or drop down, ex a, b, and c.. and when one is selected I would have a if command that would give you another set of options like if option "a" is selected then in the same …
Below you will find my three codes. I am trying to make an order form that submits an order and writes the text in the black box. But the black box needs to be within the last red box, not sure why its not going in there. Also my alert …
Is there a way to create a div or some container in which there will be an image such that the image fills the container but retains its aspect ratio? So if the container is 100px x 100px and an image is 200px x 100px it will be resized to …
for example if I have two arrys arr1[10,20,30] arr2[40,50,60] can I get help on how to merge them to get arr1[10,20,30,40,50,60]
Hi there. I'm trying to figure out how to make this JS work with nested divs. Right now it looks for TagName 'div'. I have multiple nested divs and that seems to mess things up pretty good. I'm not sure how to add more detail to this code, like look …
hey guys, i was wondering if it is possible to edit the contents in a iframe to match your sites needs, like for example css/html. Is there any way this can be done in javascript or regular html?
hi this is my code. I want to validate new password with repeat password befor user press submit. [CODE]<p align="center">To reset your password, provide your current password</p> <form id="form1" name="form1" method="post" action="pcq.php"> <table border="0" align="center" class="mytable2" style="margin-left:175px" > <tr> <td>Current Password</td> <td> <input type="password" name="oldpass" style="width:150px;" /> </td> </tr> <tr> …
I created a HTML page with JQuery and Fancybox but WC3 validator refuses to validate it. It is still giving me 14 errors but I can't find anything wrong with my code. There are a few errors with normal text in my strings and a few errors on my opening …
i have written an html document webpage in a form of (calculator)and have connected it with java so i want to create an event so that when i press the button(1) it will appear on the screen.i have already created an event for the "clear"in way that when i press …
Hey all, I'm having a problem with my WordPress contact form. It is a script I edited from a tutorial I found, and it should be working right. I have a jQuery script that is supposed to help validate it and process it without page refresh. The problem is that …
Hi, When i'm click on the web page, the page turn off to balck color. is it possible? Help me..........
what is the code for such kind of slider ads which this website have from bottom <snipped> i checked he have some .js format but not able to get the source code of that ad. Can someone help me to get the code.
This page use javascript to be the login button, I don't know how to deal with it. <ul class="list all"><li class="item item-1 item-odd"><a class="thumbnail" href="http://www.xanga.com" title="Xanga.com - The Blogging Community"><img src="http://s.xanga.com/images/mainlogo.gif" alt="Xanga.com - The Blogging Community" /></a><div class="details"><div class="itembody"><a href="http://www.xanga.com/register.aspx"><strong>What is Xanga?</strong> Xanga is a community where you can start …
[CODE] <select name="item2" id="item2" onchange="getPrice(this.id)" /> <option value="">Select medicine</option> <?php $sql = "SELECT ItemID, ItemName, Price FROM itemavail ORDER BY ItemName"; $rs = mysql_query($sql); while($row = mysql_fetch_array($rs)) { echo "<option value=\"".$row['Price']."\">".$row['ItemName']."</option> \n "; } ?> </select>[/CODE] this is selection menu to get item name. Here i need to get Item …
Hey, I got a little problem with the jQuery AJAX thing, the function(data) part doesn't seem to get called I don't have idea why I've been trying to solve this, but with not luck.. Here is my checklogin function [code] function checkLogin() { var username = $('#name').attr('value'); var password = …
Hey guys, I am designing a site that enables users to put rich text - images, smileys, lnks and some HTML tags. Now I have to design the whole script to replace smileys, check for XSS attacks, looking for unclosed tags, format links, etc. is there any preexisting script to …
Let's say, user input on prompt is 1 so JavaScript will create one textfield. We'll test Assess() if its working. Type "1" on textField and click "Assess" button. No alert message appears. Please help. Thanks in advance. [CODE]<html> <head> <title>JavaScript</title> <style type="text/css"> font{ color:#663300; font-variant:small-caps; font-family:calibri; font-size:15; } </style> <script …
How can I get the real image dimension with javascript? I tried [CODE] function getImageSizeReal(imgLink){ var img = new Image() img.src = imgLink; return [img.width, img.height]; } [/CODE] However this only seems to be working sometimes in Opera . No luck in firefox or chrome (dunno about IE) Anyways to …
Hi, Hope every one will be fine, i am facing problem with JQuery Scrollable menu, i am trying to placing 2 scrollable panels on a single asp.net page. When there is one panel every thing works fine but when i copy and paste the code so my web page contains …
hi i have to do the following work.can anyone help me??? In PHP i have to get some links from user and i have to open all that link in a single click as in a new tab or new window. Can anyone suggest any good way to do this?
Hello Forums, I am using zRSS reader on my site: [url]http://www.zazar.net/developers/zrssfeed/[/url] Simple enough to use but was wondering how i can shorten the blog description for each entry? and even the title?? any ideas perhaps someone here can help me figure this out! Thanks, Jaime
Ok I have a page that has a list of teachers on it that has their email address. What I want to do is when the teacher's email link is clicked a lightbox type form comes up. So would it best to code what my form is in a separate …
This Script add small im.. i guess i dont have to explain all know the back to top icon :D Script Contain 3 Files: I)JS - Back To Top Code.txt (the code u gonna add in each page) II)scrolltopcontrol.js (the javascript file) III) up.png (the image that u c)
How to execute JavaScript functions from Actionscript 2 and 3?
Hello guys, I have implemented the jquery validation in one of my projects. I have a <div> which has all the billing details & another <div> below it which has the shipping details. There is a checkbox in between these <div>'s which says "Same as Billing Address". It is used …
I have one drop down menu, with cars, vans, motors. If you would select cars you see the next dropdown of van1,van2 and van3. If you select cars the next drop down will appear car1,car2, and car3. And if you would select motors you will see motor1,motor2 or motor3. the …
Hi all, I would like to know which of the above scripting languages is better one. It terms of the control they offer, variety of things you could do with them, easy of use and ongoing trends in the market etc from some expert in these. Thanks for the help.
Hi, I have a page that when loaded it populate a div data from database : <div> data1 --------- [U] remove link[/U] data2 --------- [U] remove link[/U] data3 --------- [U] remove link[/U] </div> I want to have an acordion that has data with checkboxes : checkbox ------------ data4 checkbox ------------ …
hi all, i need to implement drag and drop option in my site for images. so how can i do that can any one let me know please....
hello.. i am trying to do select multiple options of dropdown box. when i am select each option then appear textbox for each option. how to do?
I am trying to write a bookmarklet that extract a citation information from a web page in a new text file for the client by using javascript. but I could not find any solution where writing to a text file is allowed with firefox by using javascript. the application suppose …
Hi, I am calling javascript from java and calling a function, and that function on an image i am calling onmouse over. So now the problem is, I have two jsp, secord inside first. when i click first jsp where is onmouseover, it's working fine and after that i am …
hi! i don't have problem in checking all checkbox but if i uncheck the checkbox the id=cball(my main checkbox of all), the sub don't follow the main(id=cball); here's my code for jquery: [CODE] $(document).ready(function(){ $("#cball").click(function(){ $("tr [id=cbmessage]").attr("checked","checked"); },function() { $("tr [id=cbmessage]").attr("checked",""); }); });[/CODE] html code: [CODE] <input type="checkbox" name="cball" id="cball" …
Hi all, I have a problem. I have a menu and when clicked it loads the data from that menu into my main page divs. However, I want to be able to auto refresh my div#mainview_json every 5 seconds. When I try to implement the auto_refresh = setInterval(blah, 5000); it …
I want to know using Java Sript, how can I get sub buttons when I mouseover a button, for example, in daniweb.com, when I mouseover Web Development button, then it expands and shows PHP, ASP.NET, Cold Fusion, ASP, JSP and so on....... How I can make this type of button …
Hi, I'm trying to reverse engineer/understand something. If you saw this: [code] <a href="{url}"onfocus="this.fireEvent('onmouseover')" onmouseover="parent.CommonMethods_previewResultsHover(this, '{url}','position=cornertopright')">Text</a> [/code] What would the code after the onmouseover in the href mean to you? I *think* it is calling a script from the parent called "CommonMethods_previewResultsHover". Am I close? A complete nebie to Java …
iv been using a tutorial to creaete the script to show an enlarged version of an image float on the screen on mouse over. the script and everything else works but i was wondering if someone could help me to make the floating image more central as it floats down …
The End.