jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for rotemorb

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 …

Member Avatar for rotemorb
-1
129
Member Avatar for davy_yg

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 …

Member Avatar for pritaeas
0
498
Member Avatar for facarroll

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 …

Member Avatar for facarroll
0
191
Member Avatar for umamahesh2020

Hi all, [ICODE]i want code for "How to put autopostback property true/false using javascript".[/ICODE]

0
87
Member Avatar for azegurb

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 …

Member Avatar for azegurb
0
257
Member Avatar for deceivingrakesh

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 …

Member Avatar for Cruize_Invades
0
150
Member Avatar for jasbun
Member Avatar for hericles
0
115
Member Avatar for ajwposh

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 …

Member Avatar for Kathiravan J
0
424
Member Avatar for mombasageek

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 …

Member Avatar for Troy III
0
152
Member Avatar for Naggelos

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, …

Member Avatar for ajcoder
0
231
Member Avatar for sbrohee

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 …

Member Avatar for Airshow
0
239
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
375
Member Avatar for trickist17

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(); …

Member Avatar for AleMonteiro
0
1K
Member Avatar for Celcuz

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 …

Member Avatar for AleMonteiro
0
69
Member Avatar for jonow

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 …

Member Avatar for stultuske
0
234
Member Avatar for suavedesign

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 …

Member Avatar for stultuske
0
186
Member Avatar for lerix20

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. …

0
79
Member Avatar for Member #859548

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 …

Member Avatar for Member #859548
0
244
Member Avatar for Abysinian

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, …

Member Avatar for Abysinian
0
143
Member Avatar for Martin C++

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 …

Member Avatar for broj1
0
499
Member Avatar for dijjio

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 …

Member Avatar for dijjio
0
146
Member Avatar for zodehala

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]); …

0
85
Member Avatar for untruth

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]). …

Member Avatar for untruth
0
213
Member Avatar for EBS.VivekGupta

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 …

Member Avatar for EBS.VivekGupta
0
201
Member Avatar for stanley87

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 …

Member Avatar for stanley87
0
356
Member Avatar for dr_copper

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"; …

Member Avatar for dr_copper
0
228
Member Avatar for Farhad.idrees

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"); …

Member Avatar for Member #120589
0
197
Member Avatar for geneh23

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 …

0
86
Member Avatar for Mace1289

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 …

0
52
Member Avatar for Tcll

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 …

0
72
Member Avatar for rosiedoon

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: * …

0
97
Member Avatar for MattWhitehead__

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 …

Member Avatar for MattWhitehead__
0
116
Member Avatar for FriXionX

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) …

Member Avatar for FriXionX
0
178
Member Avatar for Traps

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 …

Member Avatar for Traps
0
154
Member Avatar for vijayram

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')"; …

Member Avatar for Member #905211
0
67
Member Avatar for bigjoke

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 …

Member Avatar for pritaeas
0
170
Member Avatar for IanArcher

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 …

Member Avatar for Member #120589
0
162
Member Avatar for vijayram

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 …

Member Avatar for pritaeas
0
89
Member Avatar for jemz

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 …

Member Avatar for jemz
0
149
Member Avatar for sassygray5

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 …

0
91
Member Avatar for Martin C++

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 …

Member Avatar for ckchaudhary
0
197
Member Avatar for weblion

<%@ 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"> …

-3
64
Member Avatar for Julia25

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 …

Member Avatar for Julia25
0
165
Member Avatar for jonsan32

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 …

Member Avatar for jonsan32
0
205
Member Avatar for Romil797

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); …

Member Avatar for Member #905211
0
81
Member Avatar for Q8iEnG

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 …

Member Avatar for Q8iEnG
0
286
Member Avatar for abelingaw

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' "; …

Member Avatar for asprin
0
203
Member Avatar for learner guy

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 …

Member Avatar for Troy III
0
1K
Member Avatar for jackbauer24

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.

Member Avatar for jackbauer24
0
182
Member Avatar for vijayram
Member Avatar for pzuurveen
0
72

The End.