20,316 Topics
$.get("CommentCount.aspx", function (data) { count = data; alert(count); }); this code will get data from CommentCount.aspx and i wrote it in html but when i run html nothing happen unless i open CommentCount.aspx first then html.How can i still get it when i only run html ?
I'm using WebIM for chat support on a website. I would like to be able to setup a timer for when a client initiates a chat session, if an operator/tech does not respond within 'x' seconds I would like the page to redirect to another page where the client can …
hello forums. i have small problem im creating a simple page (no php ) just javascript and html. i have order.html which has a list of items. and then when you click the drop down menu it will automatically display the price of the item depending on the quantity on …
I came across this plugin called [baraja](http://tympanus.net/codrops/2012/11/13/baraja-a-plugin-for-spreading-items-in-a-card-like-fashion/) by accident. Looked interesting enough to share.
**I'm using [Ascensor.js](http://kirkas.ch/ascensor/#/Home)** I have five div <div id="about" class="section"></div> <div id="home" class="section"></div> <div id="services" class="section"></div> <div id="portfolio" class="section"></div> <div id="contact" class="section"></div> I need to create layout like, about => left home => center services => up portfolio => down contact => right Please help to create layout
Hello, I have a function to insert a new user into the database and it returns an empty data from the page I use to post it with."Undefined" actually... Here is the code: //insert new user into database $("#insert_new_btn").live('click', function(){ var user_username = $("#insert_new_user").val; $.ajax({ type: "POST", url:"insert_nw_usr_script.php", data:{insert_new_usr:user_username}, success:function(insert_a_user) …
Hi all, I have attached a CKEDITOR instance on a textarea in a CMS, and it all works fine on localhost, but after uploading the site to the server, I cant see the CKEDITOR toolbar. The textarea is not turned into an instance and further more, the textarea is not …
Hello, I'm trying to use Dropkick Jquery select box plug in for my chained select box. However, the plug in only works for my first select box and the second select box did not show up. I have two php files, the form and the func.php. Any help would be …
Hi all im having slight trouble trying to escape this php array index in a javascript block <script> var herp = $('#item').val(); var derp = '<?php echo $array['+herp+']['0']['name'];?>'; </script> problem is the browser keeps making the whole line php, oposed to counting the var herp as javascript. any ideas how …
Get listbox values added via javascript on server side via hidden field.... See more: ASP.NET Get listbox values added via javascript on server side via hidden field....
i am printing the values using ajax. Can i store those value in database?
Hello, I have a problem that I'm pretty sure I already got done before but I got lost since I didn't note down my changes with my code. My problem is that I need my displayed calendar to move fluidly showing the next 4 months and the previous 4 months. …
Hello, I learning javascript and trying to reverse engineer something I found on a site to understand it. Here is a link to the full script... http://jsfiddle.net/WHQKA/ I have gotten to understand most of it so I know what is going on and can learn from it. However this line …
A minor update to the 1.6 version of jQuery was just released today. After a big outcry of version 1.6's changes to the way properties work, the jQuery team quickly released version 1.6.1 to make the new techniques more compatible with the older functionality, hopefully preventing sites from breaking. The …
Hi all, following a chat with Dani, I'm just posting an example of a jQuery OAuth implementation. Major updates to come over the next weeks and months, but it's a start. I'll be publishing the code once I've cleaned it up and de-noobified it somewhat. :) http://dw.diafol.org/
Hi all, I am trying to create a website where there are three images on the screen. The user needs to choose one of the images. The image they select needs to be recorded either in a text document or into a mysql database. For example Image 1 Image 2 …
Hello! I'm really confused and unfamiliar with HTML5. Some term often used in Java for a community I was a part of was 'handler'. Basically, I have one file from a tutorial thus far. I'd like to split it into seperate files so its more managable. Sort of a 'Main' …
...and the Microsoft AJAX Library, err, and the ASP.NET AJAX Control Toolkit. Yep, Microsoft has not only finally come up with an official name for the AJAX technologies which until now have been known collectively as ‘Atlas’ but has also split it into three individual products. All are expected to …
Learning html and javascript so I went to building this calculator. I'm not sure what my issue is but I feel it's something with the startcalc() function calling the checkarray(). Please take a look at my code on jsfiddle and you will see my two functions at the bottom of …
Hello guys, i'll try to explain the problem i am facing here. I had searched for many file uploaders with drag and drop interface. I came across something at http://demos.9lessons.info/multiupload/index.php called the multiuploader. I saw the code and it was a bit of nightmare to me as am not so …
Hi guys, I'm trying to work on a form with jquery. I have a table with 9 cells, 9 inputs and 9 delete links. I want to delete de particular cell on which i've clicked delete, but cannot figure it out how. I am able to delete the first element …
wasnt sure where to put this post. just wonder if any one knows any different kind of programing languages computer language= every languages html, java, c ... programming languag= (system language) + (scripting language) + (database language) system language= asemmbley, c ... scripting language= php, javascript, ruby... database language= sql, …
I have found myself well out of my depth, using a template to create a web site with both JS and PHP scripts. Perhaps someone here can help me? The single page website is accually finished and works well when viewed in a browser from local files. These have been …
Hi, I want to pass String array to the javascript function when the page is getting loaded. Iam using jsp and javascript for doing this. But could not able to send the Stirng array to the javascript function. <%! String msg[] = {"one","two","three"}; %> <input type="button" name="save" value="Save" onclick="show(msg);" /> …
Hello guys, I'm in need of some thinking help. I want to build an auto-complete text input to find cars, but I want it to search for Car Models and Car Manufactor too. In example, if the user type 'For', the suggestions would be 'Ford - Car 1' 'Ford - …
I am beginner at AJAX. There are two Select Menus: Month & Year. The objective is to display data in the table **AFTER selection of YEAR**. Based upon selected values data should be displayed in the table. Thanks a lot in advanced. <!DOCTYPE html> <?php $year=$_GET["year"]; $month=$_GET["month"]; $year = array( …
Hi! I want to know how i can get a button postion by (x,y) is ther any method for this?!
I am uploading a form with file and other inputs and all that is working fine. But the problem is that it is loading a new page i.e www.mywebsite.com/controller/function. My code :- <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script> <script src="http://malsup.github.com/jquery.form.js"></script> <script type="text/javascript"> $(document).ready(function() { var options = { clearForm: true, resetForm: true …
hi to all I have a scanerio thai need to be resolved .. I have grid and it shows certain record on searching ..and have few columsn like transactionID .Stauts etc etc ..also it have ModalPopupExtender under the panel (asp panel ) when i click on status column ..it should …
Hi, I have one jsp page , in that jsp page i have four <div>'s .I want to load the <div> with some dynamic data retrieving from database. When i open the page one <div> should show the data once that data is completed another <div> should show the data. …
I am writing a live chat function for a client, I have everything working up to the point of entering the conversation into a table on the server, however when it comes to ajax and jquery, I am still trying to get the basics down so here is my chat …
Hi there As usual when making bigger projects I have a problem with simple thing. Basically for now I want to create simple video connection between 2 remote host via peerconnection, I have some codes that were on the web but looks like either I made some mistake either current …
Hi, I'm after some thoughts and opinions regarding the navigation/behaviour of a portion of a site I'm working on. The site is a shop, which is built with the Big Cartel framework, and is my first attempt at using more than just a couple of lines of javascript - or …
Hi i want to generate a grid of random numbers and operators both vertical and horizontal using 2D array in javascript. how can i do it?
I have found myself well out of my depth, using a template to create a web site with both JS and PHP scripts. Perhaps someone here can help me? The single page website is accually finished and works well when viewed in a browser from local files. These have been …
hi guys please i want you to help me solve the problem i have the following page and this is part of the code <form action="practicetest.html" method="post" target="_self"> <table width="95%" border="0" cols="2" align="center" cellspacing="10"> <tr> <td valign="top">1.</td> <td bgcolor=#EBEBEB>Two ducks and two dogs have a total of fourteen legs. <br/> …
i am working on a project.In which I am displaying the transaction list.and if admin click on any of the row then the row will disappear and a new row with form to update that row will open with cancel button.Here admin can update or cancel .if he can cancel …
I have **dropdown down boxes with checkboxes**; I'm using jguery to display Dropdown with checkboxes; I'm populating **Select Locality** with **Select City** dropdown. Now, when I select a city from dropdown It should display its locality in dropdown with checkboxes but showing localities in dropdown only. Please refer attached image …
I have two forms on a page. Each calls some javascript code. One goes to paypal and one that goes to a send mail routine. How can I distinguish between the two so they don’t obstruct with each other? Contact form descriptor: <form action='sendMail.php' method='post' id="contact-form" class="form-horizontal" > <fieldset> … …
I've inherited the task of creating a web page for my dept. application on the intranet. My experience with javascript is limited and would rather do this via PHP (v 4.3 at work), but javascript is what I've to work with. Once a week we run migration (Oracle) at a …
Hello guys, Don't know if this is the related thread to post this sort of question so i ask a mod to move it if necesary. I have some custom Like buttons on my website for twitter, facebook and Gplus (but think that is the same thing) and i want …
I have this simple slideshow script and just need to make the divs fade in/out when the user clicks 'prev' and 'next' arrow. Currently there is no effect atall which looks a bit harsh. I'm sure this can't be too difficult - however, I'm new to this stuff - Thanks. …
Hi, In my jsp page , i have four divs, i want to load dynamically one of the div when i open the page, it has to show the results from the database..I have written the entire code but could not able to load one single div when i open …
Hello together, this code of contact form works - but i dont like the alert, so i decided to modify the code, that it should write into a div "thank you..". The problem is, it doesnt work? It think the issue is because the echo doesnt know where to write …
Hi everybody, I have this really little piece of code wich I want to implement inside wordpress: http://jsfiddle.net/YPAy6/9/ I simply need how or where to put the "function" and how to call it from a post in wordpress. Any idea? really thanks! PD: I'm loading all scripts from google's cdn …
I'm developing a website.. actually i almost finished it, but i thought about creating a members area before launching it.. so i created a facebook app and facebook helpfully instruct me how to add a login button.. here's what i got so far <html> <head> <title>My Facebook Login Page</title> </head> …
Hi all , I have a set-interval function inside a for loop and when inside the set-interval function if it meets a criteria give an alert and clear the interval. Below is my code but its not working can anyone tell what the mistake here. var timeCheck = 0; function …
First time click:  Second Round Mouse click:  The above images shows screen short of a popup that is shown by clicking on a link from a html table i created using Jquery DataTables plugin and data from mysql database. in essense, when i click the linkable …
Hi, I'm have experience in Javascript but not in the UI design/CSS, so maybe what I need to do is very simple, but because of my knowledge is complicated for me. I need to create a 'component', that has 2 or 3 buttons together and they behave like radio buttons, …
Is there any way to have more then one interval timer running on the same page without them interfearing with each other?
The End.