15,120 Topics
| |
Hi, I'm making login in my site which has a database, and I check if the user exists in the data base. However, If I navigate through the web pages of the site, or if I type the url other than the beginning page, I can get to the site. … | |
| Hi I'm having issues with **get_magic_quotes_gpc()** function. I download this **Ajax File and Image Manager** from this site: http://www.phpletter.com/DOWNLOAD/ I install it on tinymce & fckeditor to test it out. They both work. I try to link the images and it didn't work and I also realizes the links are … |
| I want to handle 404 error if script can't load some resouce after document is ready. Here is code: (function( $ ){ $.fn.onair=function(){ var tid = setInterval( function () { if ( document.readyState !== 'complete' ){ return; alert("salam") } else if(document.readyState=='complete'){ if (document.onerror){ //ajax $.ajax({ statusCode: { 404: function() { … |
I have a heat map application on OpenLayers (using XAMPP 1.8.0 and MySQL) where user enters two date and time intervals and selects whether he/she would like to view all the data between those two datetimes or view them based on hourly/daily/weekly/monthly intervals. However, when I type in two date … | |
Hi there, I would like to know what the differences between primitive string type and object string type are because I declared both of them and had a look the functions that I can invoke on them. They are the same functions. Can anyone explain the differences/similarities please? | |
I was trying out the examples from w3schools. I was wondering if is possible to extract the lastvisit data separately from username. function checkCookie() { var username=getCookie("username"); if (username!=null && username!="") { alert(unescape(document.cookie.split(";"))); } | |
Hi im having a nerve wrecking problem with my script, i'm trying to make a form validation that when a field is empty it will prompt a message that needs fo fill up the missing fields..and i made it already the problem is when i put a separate script for … | |
Hi ; i have 2 javascript , but they dont work on same page , how can i do it ? This is the first one : <script type="text/javascript"> function configureDropDownLists(XLEW_3_5_3,XLEW_3_6_3) { var K31_213mm = new Array('90', '106'); var K32_245mm = new Array('90', '106'); var K33_338mm = new Array('90', '106'); … | |
I am trying to get a query to run to update the status of the system whenever the radio button is selected without having to use submit buttons, but for some reason I cannot get it to work right, here is what I have so far but it isn't working, … | |
Hey there, Why does the function compact not work for me? it is a function according to the javascript documentation. The problem is, however; if I add the brackets after it, the browser complains for some reason and it says compact is NOT a function. Also, with the function parseInt, … | |
Hi I am going to new page from current page on click of a button using function : function gotonextpage() { window.location.href = "newurl"; } I also want to call another function on load of new page to set its paragraphs. I am hiding or showing paragraphs based on a … | |
Hi there, I was reading a book on the plane and something interesting came to my mind that needs an answer. The length property of objects is a read/write value. Let's say, you've got an array that has 6 elements in it and you change its length to 10 as … | |
I have done alot of OOP for long now (with C++/Java/Python etc) but world of JS is confusing. I wanted to try it by writting Ajax library (I know there are libs but this for JS OOP familiarization) and found confusing. No class keyword et cetera. What is happening? Am … | |
Hi everyone, The function I've got works perfectly but the problem is that it displays the message quickly and then the message disappears for some reason. Am I doing something wrong?? function validateForm(){ var input0 = document.getElementById('input0').value; var input1 = document.getElementById('input1').value; var input2 = document.getElementById('input2').value; var input3 = document.getElementById('input3').value; var … | |
I wrote the code for a jquery slider... it doesn't seem to work... can someone tell me why it doesn't work??? Could it be because jquery is installed wrong or it can't find it? Here is my code (I did this all in 1 file) <title>Slider</title> </head> <script src="jquery-1.7.2.js" type="text/javascript"></script> … | |
Guys, I'm having a problem with the Magento Platform. Trying to build an auto-populated option with Ajax, it works flawless in a simple folder outside Magento. But with Magento, it's not populating from data.php <script type="text/javascript"> jQuery(document).ready(function(){ jQuery("select[name='marca']").change(function(){ var optionValue = jQuery("select[name='marca']").val(); jQuery.ajax({ type: "POST", url: "data.php", data: ({marca: optionValue, … | |
hello,I Need RSA system code with javascript ,i heared there're some rsa libraries in the internet , i looked for it , and i found some thing but it's not what i look for , i look for library applied (PKCS #1 v2.1) or (PKCS 12 v1.0),i have project and … | |
| hello i got alexa charts links from internet today <!--Daily Traffic Rank Trend--> <script language="JavaScript" type="text/javascript" src="http://xsltcache.alexa.com/traffic_graph/js/g/b/6m?&u=http%3A%2F%2Fwww.yoursite.com+++++"></script> <!--Daily Traffic Rank Trend--> <img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=t&b=ffffff&r=1m&u=yoursite.com&"> <!--Daily Reach in Percent--> <img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=r&b=ffffff&r=1m&u=yoursite.com&"> <!--Daily Page Views--> <img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=p&b=ffffff&r=1m&u=yoursite.com&"> i want to insert them in html form with few button for every chart and want … |
Hai,everybody i need help how can i make it user click join button->change the text "view" after that user click view btn goes another page any body plz help me. this code change text working fine. function showtext() { document.getElementById("joinbutton").childNodes[0].nodeValue="View in MyPlans" } <a href="#" id="joinbutton" class="planpeople" onclick="javascript:showtext()">Join</a> | |
i'm trying to animate a carousel with the roundabout plugin ,i want it exactly achieve this in the image below. http://www.hostingpics.net/viewer.php?id=316314cleansleekwebdesign.jpg unfortunately , the rendering that i get is different (click on the link below). http://onsixam.cfun.fr/roundabout.html i need to change the li dimensions (width and height ) and positions dynamically … | |
Hi everyone, Would anyone suggest good tutorials on simple game programming in javascript preferably using HTML4 ? Thank you.. | |
I was creating a jQuery slider and I can't get the slider to even work... Can someone help me out with this question? Much appreciated if anyone can help!... Here is my code: HTML: <div id="slider img"> <div id="slideshow"> <div> <img src="img1.png"> </div> <div> <img src="img2.png"> </div> <div> <img src="img3.png"> … | |
Hi, I have some jQuery code which checks whether capslock is on, but it works only with .keypress(). I want to alert when document is ready, not when im filling input. Is it possible to check status of capslock and alert the user without filling the input? | |
Hi, I have a database program that creates URL's that look like this... http://www.mywebsiteDB.com/admin.php?toDo=module&module=RESERVATIONS&modsub=reservations or this http://www.mywebsiteDB.com/admin.php?toDo=module&module=RESERVATIONS&modsub=upcoming etc. I need to make a page that inserts fields into the database AJAX style, which I managed to do outside of the database program. However, when I put the code into a … | |
I have a php web service returning json data. My problem is that when i call the json data from url returns nothing but when a call a local file with exactly the same data (copy from the url) works fine. The json data i receive are for example {"ResponseData":[{"Code":"91010001","Description":"ISADORA … | |
We are currently running a modified version of jShowOff, a jQuery slider. It has never been modified since it was created back in 2009 and lacks a few features we need. I have been searching the latest crop of sliders and haven't found one with the features we need. It … | |
| I want to put my html in a php variable and use this variable in the .html() but it doesn't work as I expect it to..how can I do something like that? $var="<p>test</p>"; //this works $return['script'] = "jQuery('#form_pop_out').html('<p>test</p>');" //those don't work $return['script'] = "jQuery('#form_pop_out').html('$var');" $return['script'] = "jQuery('#form_pop_out').html('{$var}');" $return['script'] = "jQuery('#form_pop_out').html('".$var."');" |
Hi have this piece of code to display images of cameras and a caption underneath which states what type of camera it is. However I cant get the caption to change, i posted this piece of code before and some responded stating i need to '==' not just one. I … | |
I am trying to dynamically append DIV tag after the last one. Also if the user clicks remove button then div in which the remove button is clicked should be eliminated. My caption (is in JS and want to covert it in JQquery) is also not working well. There are … | |
Hi Guys I have a text area(in php) that contain some text.I want a javascript that select the text and copy to clipboard automatically.Then it display "Link copied to clipboard alongside the text area Can anyone of you suggest me a good javascript ? |
The End.