15,688 Topics
![]() | |
I am having problems getting getJSON call to work. At the moment it doesn't retrieve any data, however when I change the '$.getJSON' to ' $.get' it retrieves the data in it's encoded format: [{"Page":"User Journey","Description":"Interactive User Journey Diagram","Bounce_Rate":"0","Avg_Time_On_Page":"0","Page_Views":"0","Click_Rate":"0"} What am I missing from the $.getJSON call? getstatistics.php: $query="SELECT Page, … | |
Hello, Im having issue's with this jquery code for enabling and disabling select/input box's. I have been googing everything but can not find a solution. Any help would be appreciated. Thanks <?php session_start(); require_once 'includes/ncjhs_summerschool.php'; foreach($_POST as $key => $value ) { if( in_array($key,$CAPTURE_FIELDS) ) { $_SESSION[$key] = $value; } … | |
Hey everyone, Recently, I have developed a website for my project and was using a 10-inch laptop during the development time. It looked fantastic on a 10-inch screen. However, I faced a problem with the width (CSS properties needed to be changed) of navigation bar on the top when I … | |
So my code is simple html, I need it to select value when submit and if value= that number, submits something like: "Your number is 1"(without refreshing the page). Thanks a million! <form action=""> <select name="list"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> <input type="button" value="Submit!" … | |
I'm getting user's profile picture along with their name from database and populating them in a div inside an anchor tag. The <a> tag is used so that we can click on any result and it takes to that user's profile page. I tried many codes to traverse the search … | |
I used high chart in java-script .In high chart my graph is displayed very well but when I click on "show graph" button it doesn't show directly graph first I want to click on inspect element in firebug then after that graph will be displayed . What is the problem … | |
everything is workin except window.location .can any one suggest reason for it. thank you in anticipation <?php session_start(); $_SESSION["visiting"]=$_GET['userid']; echo $_SESSION["visiting"]." ".$_GET['userid']; ?> <script type="text/javscript"> window.location="http://localhost/fi.php"; </script> | |
hey, please help me for building form validation in jquery. and suggest me which one is the best method for form validations | |
Is it possible to disable my submit button when my javascript timer has finished and has showed its end message. This is my form <form id="MakeBid" action="MakeBid.php" method="POST"> <input type="hidden" name="propertyID" value ="1"/> <div>Bid Now <input type="text" name="pricesoldfor"/></div> <input type="submit" value="Submit" /> </form> The java script message will be Auction … | |
This has been frustrating me for about 20 minutes already and I don't want to spend much more time on it, so any help would be much appreciated. The editor that we use which syntax highlights Markdown text has has bug in which it highlights text as code when it … | |
So guys, I really need a script that I can select from drop down menu, depends on choose, and updates mySQL row every click gives +1 point. Thanks you! | |
I'm trying to out figure how to insert automaticaly a template. when the editor is loaded. <textarea cols="80" id="editor1" name="editor1" rows="10"></textarea> <script type="text/javascript"> //<![CDATA[ CKEDITOR.replace("editor1", { on : { instanceReady : function( ev ) { insert = CKEDITOR.getTemplates('default'); // **getting the template to load** this.setData(insert.templates[0].html); } } }); This should … | |
Hi all, first of all I want to tell you that I am studying Ajax and the following code could have errors or something else. I am trying to recreate the following HTML form with Ajax: <div class="table_test"> <form name="f1" target="uploader" action="upload.php" method="POST" enctype="multipart/form-data" > <ul> <li class="title">Image Name</li> <li … | |
Hi, i'm creating a site which uses achors to change between slides... When i click it, another header moves out of place.. but i am not sure why... any help would be great! www.pixaweb.com.au/emr When you go down to painting tips with the paper behind it, if you click a … | |
Hello This is brilliant and good to work with, there is one issue i have if someone can help please. I have used example 4 baucase it visually does exactly what i need, however there is one little problem i cant solve. I copied the div and now have 2 … | |
I am trying to use JQuery Full Calendar along with Spring MVC. I have made a demo like [that][1]. Target: I need to send the UPDATED calendar's data,after I enter my events, to the controller to handle it. Issue: I've succeded to re-send the calendar I've inistialzed to the controller. … | |
I am trying to use JQuery Full Calendar along with Spring MVC. I have made a demo like [that][1]. Target: I need to send the UPDATED calendar's data,after I enter my events, to the controller to handle it. Issue: I've succeded to re-send the calendar I've inistialzed to the controller. … | |
Hi People. I'm a newbie to javascript. I have a small issue. I have a table where I have 5 columns.. I mean 5 <td> In each <td> there are 7 links. When I click a link, a container is popped up... Its hidden at first, Now inside the container … | |
Hey Guy's, back again. Listed this one on WebDeveloper.com but couldn't quite get it solved. I couldn't upload an mp4 video file to clarify the massive HTML file to show what was going on so I'm checking to see if DaniWeb uploads the file before I post the script and … | |
I have a js confirmation function: function r_u_sure(message, url){ if(confirm(message)) location.href = url; } if I were calling this function with a regular href, I would use the following: <a HREF="javascript:r_u_sure('Are Sure You want to Delete or Modify Car Information?!','www.somewhere.com)"><a/> however my html link which begins the deletion process of … | |
i have a page where i have multiple rows in a table and the no of rows is not fixed. it is fetched using php loops from the database....each row has a drop down list containing 3 values.... i want a checkbox at some part of the page...only one.... which … | |
I have the code below to show the modal-box after a LinkButton clicked. And, what I want to do is how to assign the Textbox value on the modal-box from the javascript. I have a gridview: <asp:GridView ID="GV1" runat="server" DataSourceID="DS1" > <Columns> <asp:TemplateField ShowHeader="False"> <ItemTemplate> <asp:LinkButton ID="LinkButton" runat="server" CausesValidation="False" > … | |
I am running into an error on a javascript problem I have it display if the math problem is wrong, and an alert box that pops up, but when you hit OKAY on the alert box it still submits the form. I am wondering if there is an easy fix … | |
I have a form that auto-populates an "original date" field based on the previous field that is filled in. What I am looking to do is the following: Once the "original date" is auto-populated (in the format of 04/09/2012), I need the next field "new date" to automatically have a … | |
<script type="text/javascript"> function dynaBlock(){ var division=document.getElementById("dynamic_block"); var go_btn=document.getElementById("GO"); if(division.style.display=="none"){ division.style.display="block"; return true; } } </script> function not defined says firebug. onclick="return dynaBlock()" in button. block is in DIV tag. what to do? | |
Good day! I just want to make a modal form unclosable if possible. my aims are: 1. my webpage will detect the ip address of the user. 2. if the user is from another country, he will not be able to access the page, so a modal form will open … | |
Is it possible for me to use this code but change the date to a date from my database? // NOTE: the month entered must be one less than current month. ie; 0=January, 11=December // NOTE: the hour is in 24 hour format. 0=12am, 15=3pm etc // format: dateFuture1 = … | |
How do I call a PHP string from within javascript? This is parts of my code but it isn't working... Thanks! <?php $URLString='MySite.html'; ?> <html> <body> <script language="JavaScript" type="text/JavaScript"> var popUpWin=0; function popUpWindow(URLStr) { if(popUpWin) { if(!popUpWin.closed) popUpWin.close(); } popUpWin = window.open(URLStr); } </script> <script language="javascript"> popUpWindow(<?php $URLString ?>); </script> … | |
Hi i'm doing a project for college using jquery, i'd like to dynamically update a section when a link button is clicked without reloading the page, the content fades out and the new content fades in, but when i click on a link the content fades out but the new … | |
Hi there, I've been looking a lot on Google for this and couldn't quite find exactly what I was looking for. I have an upload function on my website and sometimes it can take a lot of time until the upload is complete. What I seek is that when you … |
The End.