20,316 Topics
can anybody tell me a working jquery pdf viewer plugin(open source)?
Hello, I am trying to create a login box that processs the form to another file after login: index.php <form action="login.php" method="POST"> <input type="text" class="form" name="username"><br> <input type="password" class="form2" name="password"></div> <input type="submit" class="login" name="submit" value=""></input></div> <div style="margin: -235px 0 0 850px;"><a href="create_account.php">Create an Account</a><br><a href="forget_password.php">Forgot Password</a></div> <div style="margin: 20px 0 …
<!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("div").focus(function(){ $(this).css("background-color","blue"); }); $("div").blur(function(){ $(this).css("background-color","black"); }); }); </script> </head> <body> <div style="background-color:black;height:100px;width:100px;"> </div> </body> </html>
I have the following code: if (object.GroupBy == "Cities") $("body").children().find("td:first[name=Name]>").html("City"); if (object.GroupBy == "Banks") $("body").children().find("td:first[name=Name]>").html("Banks"); if (object.GroupBy == "User") $("body").children().find("td:first[name=Name]").html("Users"); <tr class="form-list-table-header"> <td class="" name="Name"></td> <td class="" name="Total">Total</td> </tr> <div><span>Group By</span></div> <select class="combobox" name="GroupBy"> <option value="Cities">Cities</option> <option value="Banks">Banks</option> <option value="Users">Users</option> </select> </div> If the user select Cities, the td is …
hello guys ... i have a problem regarding on this error 1. Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 104 2. Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 120 3.Notice: Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 163 4.Notice: Undefined index: …
Hi, Am trying to display all the items inside a ArrayList, but without using the cfloop. Could someone help me on this !!!! Its urgent.... Actually my issue is am trying to call a Javascript function within the loop of that arraylist. I can do that using Cfloop, but its …
Hi, i want to set a coldfusion variable to undefined within a javascript function, i just written as below, but without calling the method it automatically set the variables on page load. Can anybody help me in the same i want to set the below variable only on call of …
Hello guys, I wonder if you could kindly explain this to me. Basically, I've got a form and a thank you message above it, here they are: <asp:Content ID="Content5" ContentPlaceHolderID="contentPlaceholder" Runat="Server"> <div class="thankYouMsg" id="thankYouMsg" runat="server"> <h2>Thank you for your feedback.</h2> </div> <div class="contactForm" id="contactForm" runat="server"> <h2>Contact me</h2> <div class="form" runat="server"> …
On uploading a picture in a comment initially in preview it is upside down.
I have a problem with Chrome. Although my site works fine 100% on other browsers (safari, explorer, firefox) it wont play on Chrome. I think that the problem is that the paths of the scripts and styles (javascript, css) aren't been implemented on Chrome. Has any other user has same …
I have a table and i want that only appear the column that the user select in the combobox <table class="form-list-table" width="100%"> <tr class="form-list-table-header"> <td class="hidden" name="Nome">MunicÃpios</td> <td class="hidden" name="Nome">Postos de Identificação</td> <td class="hidden" name="Nome">Colaboradores</td> <td class="" name="Total">Inclusões</td> </tr> </table> <div class="form-item combobox esquerda"> <div class="form-item-label inline ui-widget-content"><span>Agrupar por</span></div> <select …
Hi, The question is regarding PHP and Javascript/Jquery. I have a php page which process the form data and displays it on SUBMIT. I need to collect that data into javascript. how should I proceed? **//Php file** <?php @session_start(); $uname = $_SESSION['sessionVar']; ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …
I have the following code: isBigInt: function () { var val = bigInt(); if (bigInt(val.toString()).greaterOrEquals("-9223372036854775808") && bigInt(val.toString()).lesserOrEquals("9223372036854775807")) return true; else return false; } I have downloaded the biginteger library in the https://www.npmjs.org/package/big-integer , but this code does not get the correct number typed by the user.
I would like to create an array of objects. I am not sure as to how this would work as my searching through javascript does not give an address of identifier. I can only use javascript as the site is being designed for local use. if it did I would …
Hello, I am looking for a way to place an automatic . (dot) or , (comma) for every multiple of 3. I only find the mask to do so but it requires the user to input the exact amount of numbers: <script type="text/javascript"> $(function() { $.mask.definitions['~'] = "[+-]"; $("#numbermask").mask("999,999,999",{completed:function(){alert("completed!");}}); $("input").blur(function() …
I just need help regarding my problem in editing an imploded input text from the database: I have a dynamic input text which means that you can add more input field if you click the add more button. My problem is that when tried to edit those text fields the …
Hi, I have php page, 2.php, which collects the data and dispalys it from previous page , 1.php. In 2.php, I also have html and javaScript, which contains a button, and cerresponding onclick script, which opens the OUTLOOk to send the E-mail with given sendername and subject. But for body …
possible to setting Chrome, as similar IE, and get data from Chrome html page?
Hi people I need some advice off you please. I'm creating a quiz for the website that I'm creating for my portfolio to help me to get a graduate job. I want to get 20 questions (at random) I think I have got this sorted now. But when I try …
I want to create a simple marcro file which will increment the form value every time. TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:mobileNumber CONTENT=QESSARWF50 TAG POS=1 TYPE=BUTTON FORM=NAME:NoFormName ATTR=TXT:Proceed TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:mobileNumber CONTENT=QESSARWF51 TAG POS=1 TYPE=BUTTON FORM=NAME:NoFormName ATTR=TXT:Proceed I want to repeat this query for about 100 times with increment. …
Hello I'm Ralph and I'm a web designer which knows his way around HTML and CSS pretty good, but when it comes to real scripting languages then I could use all the help that I can get. I know how to write simple functions with jQuery and can get any …
Hello all, I want to preview an image before it upload and it can remove preview (similar cancel select image). I only want to up 1 image, preview it and can remove it. I have code in that link and I don't know why it don't preview image, I can't …
Hi, This is is my php: <?php if($_SERVER['REQUEST_METHOD'] == 'POST') { echo '<h1>' . $_POST['word'] . '</h1>'; echo '<p>' . $_POST['sentence'] . '</p>'; } else { echo 'Invalid request'; } ?> How can I get the echo displayed in a CSS box or Javascript popup window. Any help appreciated. Thanks
Go Back to Previous Spot on PageI'm using list of page in one page sometimes I have a longer list of items. When the user scrolls down the page and clicks on the item, they go to a detailed view for that item. If they hit the back button on …
I'm trying to use the script below to generate an agenda on my site to promote upcoming events. I purchased a script from [code canyon](http://codecanyon.net/item/google-ical-xml-event-list-calendar-for-php/full_screen_preview/2560605), but can't even get beyond the start of adding it to my site. Any direction would be great. Thanks. Here's the code: <!DOCTYPE html> <html> …
Hi i'm trying to raise an event when user ticks checkbox in gridview silverlight. so far, i was trying event handler Click , it only handles checkbox in the gridview, while i also wanna raise an event when user ticks checkbox at header of the grid. Any idea how i …
Hi all, I want to make a Auto Complete Text Input like a list, it similar or the same as form post status of facebook in below picture, I known it can make by ajax and jQurey, so who know link demo, link guide, or example to make it, may …
Hello. I have one problem with only one text witch shows two times (i want only once) Here is picture: http://i.imgur.com/cfOrBCs.png Maybe the for cycle loops this text and...this is happen. I want to show only once in the middle. Here is code: var matchcount = 4; $.ajax({ type: 'GET', …
I need to set a default value in a combo box and i cannot figure it out. Sorry I am new to Javascript (and web development). I am not really asking someone to write the code for me but point me in the right direction. Function BuildTechnicianListDropDown(strSelectBoxName, intLockID) Dim rst, …
hya can someone take a look at this coding its for view profile and it has a on/offline on it when i log in it shows offline and nothing echos through see pic  <?php include("config/db_connect.php"); $profid = $_GET['profid']; // code for user details $query = mysql_query("select * from …
Below is my code. I want to make a calculator using javascript. The script will check weather you enter a diget. If not it will display a message on the screen saying to enter one. However I want the paragragp "answer" to display the message. I cant seem to get …
I want to check the number of user input. If it negative number it will disable the sumbit botton. my code is run but let say i enter three -1 and if i change of it to positive the sumbit botton is enable. I want make sure if all the …
Hello, I want to get checkbox depending on choice dropdown list. this is my code <html> <head> <link rel="stylesheet" type="text/css" href="style.css" media="all" charset="utf-8"/> <title>APPLICATION</title> <script type="text/javascript"> function changerub(rubrique){ var divIds= new array('agent'); for(var i=0; i<divIds.length;i++){ document.getElementById(divIds[i]).style.display = (i==rubrique)?'block':'none'; } } </script> </head> <body> <?php $cnx=mysql_connect('localhost','root','') or die ("Erreur de connexion"); …
Hello my friend out there i realy need help .i'm working on one of my class labs but things is not that write to me...could one out there assist me thanks you. here is the quz<<<<<< Write a program in HTML and JavaScript for the following tasks: Find the maximum …
In my project I have got a "back button" that is calling a javaScript function that remembers the previous url when called. //back button function function goBack() { $window.history.back(); } the url being remembered or being called when the back button is clicked contains an ID and this is ID …
Hi All I have a simple add to shortlist function using php and would like to add a success Alert message so that users know that the item was added to the shortlist. Ive tried the following code without success. // check if the item is in the array, if …
Hello i use jquery colorbox to open a pop up window. It works in all browsers except from Safari. Any clue why?
Hello, after migrating from localhost to the server my ckeditor also disabled. I wonder why? At first, I thought maybe because of file path, but my file path appears just fine: input_berita_static.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>Squprime</title> <!-- …
In code there is javascript part where test the user input if negative number it will disable sumbit button. Now the problem is that I cant get to reset to normal once the fix the number to positive number. Here is what I have try if num< 0 Do something …
I can't seem to add my values from my function. ## I keep greating NaN. ## Here is the html code: <!DOCTYPE html> <!-- grocery.html A document for computeCost.js --> <html lang = "en"> <head> <title>grocery.html</title> <meta charset = "utf-8" /> <style type = "text/css"> #column { display:inline; margin-bottom: 20px; …
Hey all, Im working on a website that has to be capable of viewing youtube video's without having to browse to youtube itself. I followed the tutorials from both video.js and video.js' youtube plugin, but when the page loads, it gives me: Uncaught ReferenceError: videojs is not defined (vjs.youtube.js line …
I am to add script to a set of links on a page to change the image on that page with the switchPix function every time the mouse moves over the text of 'Asian Art Museum', 'City Hall', etc. I don't even know where to start. <article> <h2 id="main">What's Nearby</h2> …
pls i need help from my friends out there.. i am gettin aform validation error in my contact page when i first try to load it using a webserver like xampp or wampp, else if i jus run with my web browser there is no such error .. here is …
What are interfaces main purposes and what features do they offer to give us a solid reason to use them?
Hello my friend out there i realy need help .i'm working on one of my class labs but things is not that write to me...could one out there assist me thanks you. here is the quz<<<<<< Write a program in HTML and JavaScript for the following tasks: Find the maximum …
<div class="btn-group"> <button type="button" class="btn btn-sm btn-success btn-flat dropdown-toggle" data-toggle="dropdown"> Action <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a id="action" class="a" href="#action" data-index="100" data-toggle="done">Done</a></li> <li><a id="action" class="a" href="#action" data-index="100" data-toggle="processing">Processing</a></li> <li><a id="action" class="a" href="#action" data-index="100" data-toggle="error">Error</a></li> </ul> </div> <script> $( "#action" ).on("click", "a.a", function(){ //alert('working'); var id = $(this).data('index'); var status …
I have javascript variable as var str = "str"; want to access this value in jsp scrptlet Want to know what r the possible ways? Thanks
I'm new to git bash using console2: what Im trying to do here is to "ti build -p android -T device" but at the end it shows me the following error events.js: 72 throw er // unhandled 'error' event ^ Error: spawn OK at errnoException(child_process.js:980:11) at childProcess._handle.onexit(child_process.js:771:34)
hi. i'm seeking help with checkboxes.i have built a ordering system. i have two tables "food" and "refreshments" both consists of columns "name,price" . what i want to do is . if i click on my submit button , all the checked checkboxes should be added up and have a …
Basically, the slider does not work on my website. I think that this is due to a javascript conflict however i am not 100% sure about that. I have used firebug and it came up with the error "TypeError: my_glider is undefined" Here is the code: <div class="homepage"> <div id="slider"> …
The End.