15,127 Topics
| |
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; … | |
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" … | |
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? | |
I have a ScriptManager tag in my master template. This causes no issue for visitors who have Javascript disabled. As soon as I add EnableHistory="true" to support the saving of history points, Javascript disabled visitors get an error. How can I support both types of users? | |
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 … | |
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 … | |
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']; ?>" … | |
| 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"> … |
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, … | |
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 … | |
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 … | |
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 … | |
Hello. I am using MYSQL to store articles. I wanted to present the articles in order by id, then let the user choose one of them and send the id of the article to another php page for processing, using ajax. To do so i have placed a simple form … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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> … | |
<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; … | |
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]; } … | |
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 … | |
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 … |
The End.