jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for murphs

<html> <head> <title></title> </head> <body> <table border="8" cellpadding="80" bordercolor="black" cellspacing="0" frame="border"> <tr> <td width="50%"></td><td width="50%">Welcome</td> </tr> <tr> <td width="50%"></td><td width="50%">Client</td> </tr> </table> </body> </html> i need urgent help on div floats, this are my codes the only thing missing is a div float in the middle.please help me, i have …

Member Avatar for benqus
0
109
Member Avatar for Meriam

[CODE]<HTML> <HEAD> <TITLE>TMA 02 Q4(ii)</TITLE> <SCRIPT LANGUAGE = "JAVASCRIPT"> var loc; var weather; var name; loc = window.prompt('Please enter your location',''); weather = window.prompt(`Please enter the weather`,``); name = window.prompt(`Please enter your name`,``); document.write(`London`;` Snowing`;` Meriam`); document.write(`<BR>` + `See you soon`) </SCRIPT> </HEAD> <BODY> </BODY> </HTML>[/CODE]

Member Avatar for benqus
0
100
Member Avatar for ikari

I've been having problems with web browsing that I think may be related to Javascript. I use forum sites like [url]www.ernya.com[/url] and there I get logged out every few minutes/seconds. I've found that clearing my cache regularly seems to help a little, but it doesn't fix the problem. Other forum/avatar …

Member Avatar for benqus
0
204
Member Avatar for james6754

If I have a variable in a try catch block the variable is only in scope within that try block...how can I then refer to this variable from the next try catch block?

Member Avatar for everhett.raman
0
216
Member Avatar for Member #578978

Hi, I would like to set the dimensions of an iFrame according to the content inside. Please bare in mind that the content inside will be based on ajax, so it will change without the page reloading. Thanks, Ashton.

0
83
Member Avatar for pgmarco

My JavaScript code works in all browsers except ie, I am not sure why. Any help is appreciated, Thank you. Website is [URL="http://illcomputers.comyr.com/custom.php"]http://illcomputers.comyr.com/custom.php[/URL] Javascript File[URL="http://illcomputers.comyr.com/scripts/lowendcost.js"]http://illcomputers.comyr.com/scripts/lowendcost.js[/URL] JavaScript Code [CODE] function updatecost1() { const keymouse = 40; const Case = 55; var data = document.getElementById("data"); var seldata = data.selectedIndex; var cpu = …

Member Avatar for Airshow
0
1K
Member Avatar for Tcll

here's a little test I want to do: in the main html I simply want a text input, and a submit button... when I type something in the input and click 'submit', it calls a function that generates an html with: [CODE] <html> <head><title>JS Generated HTML</title></head> <body> //(text in input) …

Member Avatar for Tcll
0
166
Member Avatar for lf.gene

Hi. I have question regarding jquery. I would like to know is it possible to put two href into one therefore i can use two different css for one jquery? [CODE] <link type="text/css" href="css/ui-lightness/jquery-ui-1.8.6.custom.css" rel="stylesheet" /> <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.6.custom.min.js"></script> <link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.css' /> <script type='text/javascript' src='../jquery/jquery-1.4.4.min.js'></script> …

Member Avatar for Airshow
0
114
Member Avatar for EZ Fanpage

Hai Fellow Developers, I have one problem and appreciate if any of you could guide me on this. I created a custom Paypal button with some Javascript and AJAX. Why with AJAX? Because the script have a coupon acceptance code where i need some validation using AJAX. The problem is …

0
121
Member Avatar for mbarandao

If the following function performs calculation [CODE] <script type="text/javascript"> function updatesum() { document.PaymentForm.newbalance.value = (document.PaymentForm.balance.value -0) - (document.PaymentForm.paymentamount.value -0); } </script> [/CODE] How do I incorporate above function and the one below into one to thus do the calculation and round the number? [CODE] <script type = "text/javascript"> function roundNumber(num, …

Member Avatar for mbarandao
0
103
Member Avatar for Ritesh_4

Hi Am currently attaching 2 files, but am concerned with the javascript file, whereby I want to make the transition of the slideshow follow almost same as the flash one, anyone can help me? Could not upload js files here so here's a link from which can download: [url]http://www.keepandshare.com/doc/2425411/example-zip-december-7-2010-10-31-am-3-5-meg?da=y[/url] Also …

0
82
Member Avatar for Ritesh_4

Hello Just like we have some addons which enable us to download flash movies from webpages in firefox, is there a similar tool which can download javascript animations from webpages?

Member Avatar for Ritesh_4
0
110
Member Avatar for luke noob

this is my code... [code=javascript] $(function() { $(".Like").livequery("click", function(e) { var ldl_session_id = $("#session_id").val(); var name = $("#commentName").val(); var ldl_id = $(this).attr("id").replace("post_id",""); var parent = $("#display_like_names-"+ldl_id); // var parent = $(this); $(this).fadeOut(200); $.ajax({ type: "POST", url: "ajax_like_names.php", data: "ldl_post_session_id="+ldl_session_id+"&ldl_post_id="+ldl_id, cache: true, success: function(html) { parent.html(html); parent.fadeIn(200); } }); return false; …

Member Avatar for luke noob
0
793
Member Avatar for Sal Shah

PLEASE COULD YOU HELP ME IN CREATING A DOT GAME IN JAVA? ******************************************************* THIS IS MY ASSIGNMENT *************************************************** Design and develop an interactive visual 'stand‐alone' event‐driven Java application implementing the “Dots Game”. This is a two‐player game in which each player clicks in turn on a dot from a matrix …

Member Avatar for Sal Shah
0
128
Member Avatar for Helpjava11

Please Help I am trying to make a counter that when i click a button it adds .01 to a running total. Below is the code I have created but when i click on the button it adds one and deletes the bid button [CODE]<html> <form> <input name = "count2" …

Member Avatar for Airshow
0
151
Member Avatar for lf.gene

Hi all, Im currently working on a project that requires me to use jquery that i have never learnt before. I have downloaded the library online. How can i change the datepicker calendar to able to select multiple date at one time?

Member Avatar for lf.gene
0
64
Member Avatar for JustmeVSI

Hi guys. I'm still a newbie with ajax and I have a problem that I guess has a standard solution that I don't know. Here is the situation. I have my ajax navigation from page to page and I use jQuery and a POST method to send the information to …

Member Avatar for hielo
0
102
Member Avatar for druveen

Hi, I have to store all words in an array suffixed with @ in an string. For eg : var str = "Hello i @need help with @regexp"; \s@([A-Za-z0-9_]+\b) this regular expression gives me only @need not @regexp so please help. check this link... [URL="http://www.regular-expressions.info/javascriptexample.html"]http://www.regular-expressions.info/javascriptexample.html[/URL] might be helpfull thanks in …

Member Avatar for druveen
0
80
Member Avatar for Brosa

I am making the products page for one of my sites, and firefox keeps giving me the error it can't find the ID I am requesting. Every other browser works fine except for firefox. [CODE] <form mehtod="post"> <input type="text" onclick="SelectAll(this.id)' onkeypress="return isNumber(event)" maxlength=2 style="width:3em; text-align:center;" id="quantity_ <?php echo $fetch['id']; ?>" …

Member Avatar for @developer
0
99
Member Avatar for Member #596162

When a member signs up there asked to enter an email and verify. When they click the verification link in there email there taken to step 2 which is where they enter there info. In the info page I have an privacy policy link, which displays this way. [CODE]<h3><span class="underLine"> …

Member Avatar for @developer
0
156
Member Avatar for xuexue

how could i add the onkeydown() function in jquery.. this is for the autocomplete.. regards, ^^

Member Avatar for Stefano Mtangoo
0
164
Member Avatar for kiranbvsn

hi all, i've one problem with the jquery i am hiding a <div> using style=display:none; and when i clicked a button whose id is lnkbtnUnitAdd, i want to show the above div but i've written some code on OnClick event of the button, since the below function is returning false, …

Member Avatar for kiranbvsn
0
331
Member Avatar for Mattan360

Hi! I'm trying to login to my website throught my program, to do that I need a password and username. The password is encrypted using C# SHA256 but on the server it uses an javascript code I got from the web. My problem is that my C# Hash differs in …

Member Avatar for kvprajapati
0
2K
Member Avatar for public-image

Hi Guys! :) Erm im using JS to make divs on my site draggable, but I dont want my divs to go beyond a certain boundry as such, I was wondering if any of you could maybe help improve the script I am using (included below) so that users must …

Member Avatar for Airshow
0
164
Member Avatar for xuexue

hi guys, could you help me with this one? this is about the autocomplete in php using a textbox.. my problem with this code is that when i used KeyDown on my keyboard, it should automatically input in the textbox the data, but mine is different, it displays "undefined" instead. …

Member Avatar for xuexue
0
239
Member Avatar for omaiaa0p

Hi everyone, So this is a game which I would like learning to modify it It's basically a rocket that should get to the base, I want to change it to a person that just walks right and left and when collided to the base, an alert shows up. The …

0
73
Member Avatar for bwallace

We have this script that makes the photo change when you mouseover different items on the list. How can we make the photo link change as well? For example, how can we make the photo link to Yahoo when we hover over item 1 but to Google when we hover …

Member Avatar for Kraai
0
101
Member Avatar for saad749

I am trying to create a Unit Converter. My Idea is to have a select box at the top to select Length/Temp etc. which will populate the two select boxes below with appropriate units. The below code should Work only for Milimieters to Milimeter, Meters and Kilometers. It should show …

Member Avatar for saad749
0
227
Member Avatar for dan3423

All I'm trying to do is set up a simple slide show using the commands Start,Pause,Faster and Slower to go through a couple slides but I'm having trouble getting it set up. <html> <head> <script type="text\javascript"> var showing=null, // Is the showing going? no - null pause=true, // Does the …

Member Avatar for Airshow
0
87
Member Avatar for moerkel

Hi, I have a script to save Google Map markers in SQL. The datas from "type" and "type2" should be compared to datas in existing table "type_table" Unfortunatly the script does not save the datas. I always get the echo from "if($num_rows==0)", even if the gives datas from the formular …

Member Avatar for Airshow
0
116
Member Avatar for anupam.j2ee

Hello Everybody, I am new into Java Programming. I am having a requirement of showing calendar in my JSP. Foe Example I have a field named 'Start Date' , whenever that field is clicked or is focused a calender should pop up and date chosen on that calendar should be …

Member Avatar for peter_budo
0
115
Member Avatar for cfhjag

Hi all, I basically want to create a webspace to which I can easily save images to, similar to svpply.com and ffffound.com. The way they work is that you create an account, you get a link which you keep in your bookmark bar and when you click on the link, …

0
61
Member Avatar for minimogul

jquery slideshow works in dream weaver but doesn't work at all in the browser. I can't even see the pictures of the controllers for the slideshow. I can see the first image in it and thats about it as you have to click on a button to get the second …

Member Avatar for minimogul
0
119
Member Avatar for brown23

Guys, Does anyone know a redirect script that [b]leaves[/b] the referrer in Internet Explorer? [CODE]<script type="text/javascript"> <!-- window.location = "http://www.google.co.uk" //--> </script>[/CODE] The above script doesn't leave a referrer in IE (there's a surprise!)... ideally it would need to be JavaScript based because I need to make sure the user …

Member Avatar for brown23
0
155
Member Avatar for dk4210

Hello Guys, I have an upload button (ajax) that allows users to upload multiple files to a temp directory. I am trying to figure out a way to have php/ajax count the amount of files and when it reaches say 5 images that the upload button disappears. I do not …

Member Avatar for dk4210
0
166
Member Avatar for dan1992

i have a code [B] Index.php[/B] [CODE]<script src='jquery.js' type="text/javascript"></script> <script src='documentation.js' type="text/javascript"></script> <link href='documentation.css' type="text/css" rel="stylesheet"/> <script src='jquery.form.js' type="text/javascript" language="javascript"></script> <script src='jquery.MetaData.js' type="text/javascript" language="javascript"></script> <script src='jquery.MultiFile.js' type="text/javascript" language="javascript"></script> <script src='jquery.blockUI.js' type="text/javascript" language="javascript"></script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script> <script type="text/javascript"><!-- google_ad_client = "pub-9465008056978568"; google_ad_slot = "4176621808"; google_ad_width = 120; google_ad_height = 600; //--> …

Member Avatar for dan1992
0
150
Member Avatar for vedmack

Hi my file is located at c:\AdminFiles.xml i tried the following ways window.open("c:/AdminFiles.xml",'HeavyXml'); window.open("c:\AdminFiles.xml",'HeavyXml'); window.open("c:\\AdminFiles.xml",'HeavyXml'); in the above i'm getting the following error: "Firefox doesn't know how to open this address, because the protocol (c) isnt associated with any program" window.open("file:///c:\\AdminFiles.xml",'HeavyXml'); the last attempt give to respond at all... any …

Member Avatar for delomos
0
299
Member Avatar for mbarandao

Good day all: I've been experiencing a great difficulty resolving a problem concerning replacing [CODE]<br/>[/CODE] to an actual newline inside a textarea box. Much of the problem has been because the data in the textarea is populated via a php script in this manner: [PHP] echo "formObj.servicedesc.value = '".toSafeString($inf["servicedesc"])."';\n"; [/PHP] …

Member Avatar for mbarandao
0
130
Member Avatar for Slyvr

I'm trying to organize my frame so that I have two panels, one on the left and one on the right, sort of like a website design with buttons on the right and empty text area on the left. How in the hell is this accomplished? I've been screwing around …

Member Avatar for Ezzaral
0
96
Member Avatar for opspl_programme

Hi Everyone ! I have 2 DropDownList controls inside an UpdatePanel. The first is a dropdown for [B]Country[/B] while the second is for [B]State[/B]. I have set the properties of Country as AutoPostBack="True", OnSelectedIndexChanged ="PopulateState". Selecting a different Country fires the [I][U]PopulateState[/U][/I] function causing the the State to populate itself …

Member Avatar for Freon22
0
2K
Member Avatar for miss.noir

Hi there, For University, I have to do a reassessment project whereas by I create a web-based cocktail maker. My issue is I really do not know where to start with it. I was wondering if anyone would be able to kick me off and point me in the right …

Member Avatar for richy90
0
305
Member Avatar for nmoudgil

I have searched quite a bit online. And can't really find an answer. I did implement a solution using window.setTimeout, but doesn't really seem to work. Here is what I want. I click a button and run about 10 javascript functions all together. These are time intensive functions that connect …

Member Avatar for scrappedcola
0
282
Member Avatar for Russ_Kauk

Hi! This is my first post in this forum. Thanks in advance to anyone who can help with this! I hope this makes sense. I'm also relatively new to PHP, so I hope I have used terminology correctly in describing the problem. I am not sure how to accomplish what …

Member Avatar for Russ_Kauk
0
210
Member Avatar for pjh1985

Hi, I am trying to create a dynamic list of links to go in the footer on my website but i have been unable to find a good solution. I am currently using a standard unordered list with a repeating region which is then split into columns using the column-count …

Member Avatar for Arkinder
0
73
Member Avatar for arctushar

Hi I m finding for a solution. But this is very critical I think. Though its very critical, I hope you will solve this. problem is as below I have 5 divs with no ID. say as [CODE] <div>The quick brown fox jumps over the lazy dog<input name="" type="button" /></div> …

Member Avatar for mahavir123
0
301
Member Avatar for nicolechuah

<html> <head> <script type="text/javascript"> function insRow() { var x=document.getElementById('myTable').insertRow(1); var y=x.insertCell(0); var a=x.insertCell(1); var b=x.insertCell(2); var d= '<input type="button" value="Delete" onclick="deleteRow(this)">'; var e= '<input type="text" id="answer" />'; var f= '<input type="text" name=num; id="answer1" />'; y.innerHTML=e; a.innerHTML=f; b.innerHTML=d; } function deleteRow(r) { var i=r.parentNode.parentNode.rowIndex; document.getElementById('myTable').deleteRow(i); } function check(browser,browser1) { document.getElementById("answer").value=browser; document.getElementById("answer1").value=browser1; …

Member Avatar for Shuel
0
151
Member Avatar for nonshatter

Hi all, I have a simple problem. I have this javascript code which I'm using for collapsible tables: [CODE] <html> <head> <script type="text/javascript"> function getItem(id) { var itm = false; if(document.getElementById) { itm = document.getElementById(id); } else if(document.all) { itm = document.all[id]; } else if(document.layers) { itm = document.layers[id]; } …

Member Avatar for Airshow
0
155
Member Avatar for public-image

Hi Guys :) erm Im not the biggest on Javascript its more like a second language unlike PHP and HTML erm anyway, I am trying to redirect users with Javascript, the reason I am using javascript is so that users don't see the URL, its more of a precaution on …

Member Avatar for Airshow
0
233
Member Avatar for theo23

i have these 2 selections Code: [code] <select id="rooms" name="rooms"> <option>Please Choose</option> <option value="1" >1</option> <option value="2" >2</option> <option value="3" >3</option> <option value="4" >4</option> </select> <select id="type" name="type"> <option>Please Choose</option> <option>Single - 50£</option> <option>Double - 60£</option> <option>Luxury double - 70£</option> </select>[/code] i would like to give these values single:50 double:60 …

Member Avatar for Shanti C
0
107
Member Avatar for happygeek

How do you create a mission-critical website providing exceptional performance yet at the same time being flexible, reliable and scalable? That's the question that Kyle Loudon, a software developer and manager of a user interface development group at Yahoo!, sets out to provide the answers to in his book: Developing …

Member Avatar for Devendra_WIPRO
0
521

The End.