20,316 Topics
Hello I'm quite new to Jquery, so bare with me please. I've searched google, but I couldn't find an answer to my question. I'm developing an asp.net 4.0 application, and i wrote a Jquery inside my content page: [CODE] $(document).ready(function () { $("#Button1").click(function () { alert("Hello"); }); }); [/CODE] I …
Hi I would like to create drop scroll show content, how to do so ? v Fiat Justitia Ruat Caelum Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer eros risus, vulputate vel iaculis vel, luctus ac arcu. Vestibulum metus ligula, dignissim nec viverra a, interdum ut magna. Donec dignissim …
The following script creates a child window check/check.php in Firefox but not in IE or Chrome. I know that I should not be using [I]href = "javascript:void(0);"[/I] but I cannot work out a better solution at this stage. Here is the snippet I'm using. While this code contains PHP I …
Hi all, [ICODE]i want code for "How to put autopostback property true/false using javascript".[/ICODE]
Hi all, I have taken from net chained select script. here is all PHP and Javascript files but i dont understand one thing there. index.php file [ICODE]<?php include('db.php'); include('func.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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Chained Select Boxes using …
Guys i have a textbox where user enters a telephone number , i need to check in the database whether there a same telephone number in the database already , i want this to happen as soon as the textbox looses focus without posting back , is there any way …
how to allow the user to select different pen thickness for the lines, eg. triangle, circle, square?
I use the below code to add or remove a row from a table using javascript. The code works fine on IE however it doesnt work on Firefox, can anybody suggest reasons why this might be doing so? The id "table1" is the ID of the table I am trying …
am having trouble with this small java-script problem how can i make a link button clickable after an event lets say clicking a check-box or another button ...example when you want to install a software you see the next button but can not click it until you check the check-box …
Hi, I created an XML file that will hold the latest news and stories, and trying to display it now in my HTML file using Javscript (I scrapped XSLT, as it altered the CSS styling and alignments compared to the other pages and couldn't work my way around that). So, …
Dear all, I am certainly not a web developer nor a computer scientist but a little biologist. I developed my tool to analyze some high-throughput biological results and I'd like to make it available online. My prototype : [URL="http://homes.esat.kuleuven.be/~sbrohee/test/new_gsea/php/"]http://homes.esat.kuleuven.be/~sbrohee/test/new_gsea/php/[/URL] Just to make it simple, the user must have the choice …
HI there, I am having a few problems understanding how drag and drop works in jquery. Say I have this (which is taken from a text book): [url]http://aharrisbooks.net/jad/chap_12/dragDrop.html[/url] In the code you have [CODE] ... //make all drag me elements draggable $(".dragMe").draggable(); //set target as droppable $("#target").droppable(); //bind events to …
Hello, I have a problem with the response text of an ajax request. I want to use the answer of the php script ("true" or "false") to do different things with a if-condition, but it always takes the false option. Here is the code. [CODE] var hr = new XMLHttpRequest(); …
Hi Daniweb I been searching and searching for this Code i have no idea iff this is CSS or Java i went for java and writing here now. What im searching for is something like this: [url]http://www.maskedcrusader.com/mmo-account-trading-forum/[/url] The little image saying "Waiting, Register now" when you scroll with the mouse …
I have a simple JavaScript question. I want a drop down selection so that when you select a certain option is shows the value of the option in a div. So for example: [CODE]<select> <option value="select-1">One</option> <option value="select-2">Two</option> <option value="select-3">Three</option> </select>[/CODE] So lets say that option one is selected, then …
I am not a javascript coder, but I wanted to make pop windows on my webpage, without a separate window. I followed the instructions I found here:[URL="http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/"]http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/[/URL] It worked well. However, I want to make more than one popup on my webpage- I have thumbnail images that I want to …
Hello Guys, Please i have finding it very hard to convert this javascript snippet to php where values or content can be retrieved from DB. SELECT SQL Statement to retrieve the value from the DB is listed below. I also attached an external script (scroller.js) to make the scroller run. …
Hi, I am very much a js novice, and trying to follow a tutorial that plots markers on top of Ordnance Survey map. The code used works in part by loading the map, but the markers it loads from a locations_complete.xml file do not show, and no error message is …
Hi there, I have an assignment for University that requires me to use a grid of buttons in any way I want to create some sort of game. I've chosen to make mine like a Bandit machine: [LIST=1] [*]Press "Spin!" Button [*]3x3 Grid Of Buttons Randomize Their Colours (Either Red, …
Hello, I need to submit a form as soon as selection has been changed and call PHP function. I know I can do this with onchange="this.form.submit(); but this will generate an url similar to this: [CODE=PHP]?submit_position=change[/CODE] while I need to generate something like this: [CODE=PHP]?p=edit-product.php&action=change_pos&id=$id[/CODE] This is what my form …
Hi ^^ sorry, iframe! I am able to load an external website into an inline iframe I have on page1.php by adding target name to the hyperlink. However, what I can't seem to get working is making the URL load into the iframe through simply adding the link to the …
i cannot send data in box to index.php. why ? outout is just [CODE]button: Submit[/CODE] link is [url]http://kottawadumi.blogspot.com/2011/07/add-or-remove-list-box-items.html[/url] [CODE] <script type="text/javascript"> function removeMultipleOptions(){ var listBox=document.getElementById("selectMultipleCountries"); if(listBox.options.length==0){ alert('You have already removed all list box items'); return false; } var removedOptionCount=0; var valuesToBeRemoved=Array(); for(var x=0;x<listBox.options.length;x++){ if(listBox.options[x].selected==true){ valuesToBeRemoved.push(listBox.options[x].value); } } for(var j=0;j<valuesToBeRemoved.length;j++){ removedOptionCount+=removeListItemOneByOne(listBox,valuesToBeRemoved[j]); …
There is one table that have fields included the add row button. I am using onchange event to call data from other tables, so when I select an option in the option box can automatically get the value that has been selected earlier ([B]do not need input the value manually[/B]). …
Hi, I am working over a ASP .NET application and SQL server database. The databases i m using is huge and takes time while updating or generating report by my ASP .NET application. As the reporting and updating require some calculation, if the user presses ESC button or Back button …
Hi,guys,morning to all :) I have face 1 situation, i already built an api using the rest method, and all my response data will be return in html data when i call the api, i testing on the same server using the jquery working fine, when i use on another …
Hi, I try to create a menu for the website of my friend. But I have a probleme with the reaction of event. My submenu close when i quit the section div. Someone can help me please? my code: [CODE] <html> <head> <title>test menu</title> <script language="javascript"> function ouvrir_menu(cible){ liens_cible="liens"+cible; document.getElementById(liens_cible).style.visibility="visible"; …
Hi... i m making script which is checking that username aur password is true or not..... i want to show alert if username or password is incorrect.then i want to redirect my page to original login page.... my code is [CODE]$alert = "<script type=\"text/javascript\">alert('Invalid UserName or Password');</script>"; echo $alert; header("Location:../Admin.php"); …
ok so, I have a webpage that I am making for me and there is a link that is interfering with the hover part of the nav bar to show..it's this link "http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" that's at the bottom of the html page that I have set up..when I take it away..the …
Hello everyone! I have a question for whom ever can answer it. Im creating a board game in which cards need to be drawn when you land on a spot that instructs you to do so. Just like when you land on a chance square in Monopoly, and just like …
I'm sure you guys can gather from the title... this project requires alot of work to work :P you can see my current progress at: [url]http://tcll5850.hostoi.com/tabs.htm[/url] I called it "Tabs" because the original development was just a basic tab system using the Opera browser... that works perfectly. well... somewhat... I …
Hello all. I am building a webform and need some validation on radiobuttonlists but I am really stuck and struggling. I need to use a customvalidator with some javascript. I've been working on this for some time and can't get it to work. Help! The logic goes like this: * …
I want to know if there is anyway of getting a discography from this page? [url]http://www.oasisinet.com/Discography.aspx[/url] I want to use it on a website that I'm updating at the moment. I right clicked on the flash interface and it said powered by Trinity St. I googled that but couldn't find …
Say in index.html you set variable x to be 5. You navigate to a different page, lets say pageone.html. How can you keep x to 5? And if you change x to 3 on pageone.html, how can you keep it to 3 on pagetwo.html? (the whole website also, every webpage) …
Would it be possible to use JavaScript with C# (or Java, Python etc) for the sake of getting a sweet UI. Say for example I have a program written in C# with a ok-looking GUI which holds some panels, a few buttons, radiobuttons, the usual stuff. Would I then be …
Hi, Mouseover the circle area i will display some text.the following code is correct or not.does not work this code.where can put mouseover function. plz help me,urgent, I asked many times but nobody tell me. <map name="Map" id="Map"> <area shape="circle" coords="229,40,35" href="<?php echo url_for("@make_plans") ?>"onMouseOver="('HEY JOHN YOU HAVE NEW MESSAGE')"; …
I am trying to get a database created as per html5 web sql specs. [CODE]h**p://www.w3.org/TR/webdatabase/#sql[/CODE] I am using jquery/javascript to accomplish this. Here is a bit of simplified problem that i am facing. 1. User enters two fields on a html form 2. In background, i create a websql database …
I have a drop down menu on a remote page whose source i can only view/copy but cannot edit it , so i am attempting to reconstruct the page from the source code of the currently existing one. I want to select all options from the menu when so i …
Hi everybody, what is the error for following code.this function not work. $( "#calendar-node" ).hover( function(){ if ($(this).attr('date')) { $.ajax({ url: $("#url_view_schedule").val(), data: "personalId="+$("#personal_id").val()+"&date="+$(this).attr("date"), dataType: "json", success: function(list) { events = list["events"]; notes = list["notes"]; if (events.length != 0 || notes.length != 0) { $("#schedule").show(); var html = ""; var …
Hi, Is it possible to download the javascript API documentation,and to use it without internet connection?.can you help me please where to download the api and how to use this without using internet.just like in java api i downloaded it and use it without the internet connection. Thank you in …
Hello all! I am new to JavaScript and was hoping someone could help me with a jQuery assignment. My page is online here: [URL="http://baileyjumper.aisites.com/JavaScript/Homework3/marcum-loren-hw2-jquery.html"]http://baileyjumper.aisites.com/JavaScript/Homework3/marcum-loren-hw2-jquery.html[/URL] What I currently have is a to do list, where you enter text into a textarea, and what you type is appended as a list item …
Hello, How can I make a menu for the following code [CODE=HTML] <div id="sidebar"> <ul> <li><a href="#">Master link</a> <ul> <li><a href="#">Link to be revealed</a></li> </ul> </li> <li><a href="">Master Link 2</a> <ul> <li><a href="#">Sublink</a></li> </ul> </ul> </div> [/CODE] Wit this CSS, I m hiding the second level of the menu, that …
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="modalwindow._Default" %> <!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 runat="server"> <title>arun</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript"></script> </head> <body> <form id="form1" runat="server"> <!-- Begin modal window --> <div class="boxes"> <!-- Container Div --> <div style="height:auto !important;padding-bottom:50px;margin-top:25px" id="test" class="window"> …
i have two html one which works in all browser and the other is for ie ex 1.html (not ie) and 2.html (ie) i added this in 1.html [CODE]!--[if IE]><meta http-equiv="refresh" content="0;URL=2.html/"><![endif]-->[/CODE] which works my question is if the visitor visit the same page (2.html) and using different browser i …
Simple question, I'll take NO for an answer if it's not possible. With a random array, can I display the results multiple time on the same page. I know I can't use css, and I would rather not use php... but is there a way for me to list the …
how do i get the id of the item being moved in a sortable? also how do i get the new position of the item? its in an update block, but it wont give the id. here is my code: $(function () { $("#sortable").sortable({ update: function (event, ui) { alert(ui.item.value); …
Dear all, I've been working on this template for a an non-profit society. Everything seems fine with me I edited like tons of the code, sadly, one thing annoyed me a lot and couldn't be able to solve it yet. The problem is in the top menu, when you hover …
I am trying to display an alert box using javascript in my login php file. When a user logged in using a wrong username or password, then a messagebox will display. This is what i have so far: [CODE] $query="SELECT * FROM info WHERE username ='$user' && password ='$pass' "; …
Hi i am learning xml , in a very simple code i got an error saying [B]"Uncaught TypeError: Cannot call method 'getElementsByTagName' of null"[/B] i am getting this in all browsers ,i have tried to look for solution on google but could not find ,Plz help [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD …
I've got to explain this to my ten year old son, so please explain this in an easy way. (If you can, each and every thing about [ICODE]this()[/ICODE].) Thanks in advance.
Hi everyone, I need syntax for pageloadevent function,javascript or php
The End.