15,688 Topics
![]() | |
i am kinda new to programming and i wwanted to ask that the java language and java script are the same thing plesse >>> provide a reason>>>> thank you | |
Any time I have included an alert in a Javascript program, I have simply called it as "alert", for example, alert("The value of the variable is presently " + varValue + "."); However, I also see code that calls it as window.alert. For example, window.alert("The value of the variable is … | |
Hi, I have a form where a customer choose from "option radio" a pizza : mini - medium - maxi. I have topping with checkbox: toppingmini for pizza mini, toppingmedium for pizza medium and toppingmaxi for pizza maxi. A customer when click on radio "pizza medium" display only toppingmedium..... It's … ![]() | |
![]() | A one liner definition of obfuscation from wikipedia: >In [software development](http://en.wikipedia.org/wiki/Software_development), obfuscation is the deliberate act of creating obfuscated code, i.e. [source](http://en.wikipedia.org/wiki/Source_code) or [machine code](http://en.wikipedia.org/wiki/Machine_code) that is difficult for humans to understand. Obfuscated JavaScript code is a widely used technique to hide initial functionality of a given script. There is … |
Hi, i have the following script <html> <head> <script type="text/javascript"> function displayResult() { var x=document.getElementById("mySelect").selectedIndex; var y=document.getElementById("mySelect").options; document.getElementById('result').innerHTML = "You have selected " + y[x].text; } function displayResult2() { var x=document.getElementById("volume").selectedIndex; var y=document.getElementById("volume").options; document.getElementById('result2').innerHTML = "You chose " + y[x].text; } </script> </head> <body> <form> Select Drink<br> <select multiple="yes" size="7px" … ![]() | |
am trying to launch a file embbeded in a pdf document. with java script can anyone write a code | |
I have a form that is very basic, I have 2 fields that call for the hidden input select using a basic JS, what I want to know is if there is a way to make it hide again when they select something different. Here is my JS: <script type="text/javascript"> … | |
Hi All, I'm new to this jquery and i found some article, implemented but its server side method is not firing. Plz if you know help out this probelm. These is the code implemented in my application in jquery side. [CODE]<script type="text/javascript" ></script> <script language="javascript"> $(document).ready(function() { $("#btnClick").click(function() { var … | |
The HTML: <!DOCTYPE HTML> <head> <link rel="stylesheet" type="text/css" href="/Users/Alireza/Desktop/Index.css" /> <script src="http://www.ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <script type="text/javascript" src="/Users/Alireza/Desktop/Index.js"></script> </head> <body> <div></div> </body> The CSS: div{ height: 100px; width: 100px; background-color: red; border: 4px dashed #00FF00; } The jQuery: $(document).ready(function(){ $('div').click(function(){ $('div').effect('explode'); }) }) Please help me. I really don't know why it isn't … | |
Hi There, I have written a very simple notice board page, for displaying information to the team where I work. I want to have an admin.html page where I can enter details in fields and select from drop downs, then hit submit and it populates a page called "notice.html" is … | |
Hello I am trying to parse a .json file.. it only has 1 set of data I don't think the $.each is the best approach but it's all I can find.... Here is my code: <script type="text/javascript"> function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var … | |
Hello everyone! Webdesign isn't my thing but i know enough to help maintain a website for a church, it is a small scale and all i do is post events and upload pictures. a few days ago the site's ftp account got hacked and all the files been modified. i … | |
Hi, I have this bit of php returning the response, just for testing : header('Content-type: application/json'); $response = array(); $response["status"] = "ok"; echo json_encode( $response ); 1) Is this a wrong way to send a json encoded string back via jquery ajax? 2) I get NOTHING, No response from this … | |
I have a script which is a simple HTML/JS contact form. The site is based on Joomla. Specifically, one of the YooTheme Templates. It is also running WidgetKit. I have had issues before which have been solved on here which were to do with my script including JS and WidgetKit … ![]() | |
I tried lots of Poll scripts but one of was good one. I need Poll script with Jquery, AJAX and Admin so that I will intergrate my website. | |
i'm trying to append a bool variable zoom. zoom is set to true once the btnview is clicked. i did something but it's not working. can someone put me on the right path here. <a id="btnview" class="btnview" data-href="<%=HttpContext.Current.Request.QueryString.Add("zoom",true) %>" style="margin:60px 0 0 0;">zoom</a> some how it is not setting the … | |
hi i want to create realestate search form. but i don't know how to do it . please help me. for example visit below site [Click Here](http://www.lankaland.lk/) | |
Dear friends, I am interested in creating a tree structure like the image attacched using jquery and json data. datasets: [{'name':'xxx', position:'left','parent': 0}, {'name':'yyy', position:'left','parent': 1}, {'name':'yyy', position:'middle','parent': 1}, {'name':'yyy', position:'right','parent': 1}, {'name':'yyy', position:'left','parent': 2}, {'name':'yyy', position:'right','parent': 2}, {'name':'yyy', position:'left','parent': 3}] Where, name - specifies name of the node parent … ![]() | |
I want vertical menu with More or Less option same like in http://www.bayt.com/en/international/jobs/ I tried to find out.. but no luck.. | |
Is there a way to make a bottom toolbar slider like on this site: http://www.complex.com/ look at the bottom bar and click the arrows and it slide is there a way to do that? | |
Hello I need a little animation on my websitewith jquery I have two text divs (Text 1 and Text 2) of same size now i want to animate them I want to display the Text 1 for 10 seconds and then it will fade out permanently and only display Text … | |
Hi all, bellow i m writing the code snippet which gives the error as Microsoft JScript runtime error: Object doesn't support this property or method, what to do.I m trying for jqgrid in asp.net with MVC without creating Helper. [CODE]<script type="text/javascript"> jQuery(document).ready(function() { jQuery("#list").jqGrid({ url:'/jqGrid/GridData/', datatype: 'json', mtype: 'GET', colNames: … | |
Hello, I am trying to have a calendar in my site which should have below functionality: 1. Select a year from 2013 to 2023 from a given calendar. 2. Once a year is selected (ex-2013), 12 links displayed as Jan, Feb, Mar, Apr.... Dec. 3. Once a month is clicked … | |
I am using a script on a page due to which the style of dropdown , checkbox and textbox is applied on them, but if i put dropdown or any other tool inside the updatepanel than only when the page gets load script is shown to that tool but whenever … | |
$name = $_POST['name']; $image = $_FILES['image']; $location = $_POST['location']; $category = $_POST['category']; $username = $_POST['username']; //$imageData =addslashes (file_get_contents($_FILES['image']['tmp_name'])); $imageData =addslashes (file_get_contents("http://zbatny.info/HOOT/amsek/prob/5.jpg")); $image =$_FILES['image']['name']; $type=$_FILES['image']['type']; $file_tmp=$_FILES['image']['tmp_name']; if(!is_writable("../../images/")) echo('You cannot upload to the specified directory, please CHMOD it to 777.'); if(move_uploaded_file($imageData,"../../images/".$image)) { //Tells you if its all ok echo "The file ". … | |
I have a page with a list of users. Every time i click on a username a div will be loaded via ajax, and this div will contain the user details plus another ajax link that will be used to display a floating div that will contain a form to … | |
Hey guys, I've been tearing my hair out for some time trying to figure out why my jquery has suddenly stopped working. The jquery script that I have written is fairly simple: $(document).ready(function () { $("#pTab").addClass("active"); $("#pBtn").click(function () { $("#pTab").addClass("active"); $("#gTab").removeClass("active"); }); $("#gBtn").click(function () { $("#gTab").addClass("active"); $("#pTab").removeClass("active"); }); }); I … | |
I have a online photo gallery and when you hover over a image an edit button appears that opens up a jquery prompt box in which you enter the caption after this has been entered i have the following code var caption=prompt("Please enter new caption"," "); if (caption!=null) { var … | |
I have tried many different scripts I have found but cannot find one that does exactly what I am looking for. I have a table that has parts with multiple characteristics. Part Number, Height, Width, Capacity, Price, Etc. I would like to have a drop downs for all of these … | |
<html> <head> <script type="text/javascript" src="js/jquery-1.4.3.min.js"></script> <script>$('.countryclassinfolink').click(function(event) { event.preventDefault(); var detailinfo = $(this).parent().next().html(); $('#country_details').html(detailinfo); $('.countryclassinfolink2').click(function(event) { event.preventDefault(); $('#country_details').html(''); $('#country_details').hide(); $('#country_seminars').fadeIn(); }); $('#country_seminars').hide(); $('#country_details').fadeIn(); }); </script> </head><body> <div class="section seminars"> <h2><span>USA Seminars</span></h2> <div id="country_seminars" class="body"> <table> <tbody> <tr> <td class="practioners"><p> <span class="date">06/10/2013</span> Niskayuna, NY<br> <a class="countryclassinfolink" href="#">Advanced DNA</a> </p> <div style="display:none;" id="classdetails26436"> … |
The End.