Tagged Questions
0
votes
1answer
19 views
html / javascript tab controllers not working
I am currently finalising a simple website for a project I'm working on. I have two tab controls. One on the right of the page, and one on the left. Both have 3 tabs that when clicked display ...
0
votes
0answers
14 views
jQuery countdown timer (jcountdown1.3 countdown - webmuse) is not counting down
Here is my code:
var now = new Date();
var newDateObj = new Date(now.getTime() + 30 * 60 * 1000)
$("#countdowntimer").countdown({
date: newDateObj.toGMTString(),
htmlTemplate: "%{m}:%{s}",
...
0
votes
1answer
46 views
My Javascript timer counter is not worked with bootstrap, please tell me how to resolve it?
I am very newbie for bootstrap. Now I am doing one online exam project. So I need the time counter for that project. I am using the bootstrap for best responsive layout, and I am using this site's ...
1
vote
0answers
27 views
Jquery delegate not working when setting variable
I am using ajax loading for page navigation and am using delegate for the various click events required for each function etc
The problem I am having is activating a slideshow on the home page due to ...
1
vote
1answer
45 views
javascript variable scope - how can i work around this?
I have an input field, where a user can enter an INPUTVALUE, this INPUTVALUE gets checked for correctness against a reg-ex, then sent off to a php file, which will do calculations with it, and return ...
0
votes
1answer
22 views
Uncaught SyntaxError: Unexpected number JSON ajax request
I'm trying to do a get request to a website and get the response.
I'm able to do a successful HTTP request and response, but for some reason the javascript error pops up and it breaks my code.
I'm ...
1
vote
1answer
42 views
Passing name of button as parameter
I am a newbie in JQuery and ajax and I would like to know if it is possible to pass a value in a function as parameter and using that value as a name of the button which was clicked and proceed with ...
3
votes
2answers
25 views
Tablesorter reload tbody or only that row on database change/update
I have seen a lot of examples of tablesorter triggering an update when the user want's to add or remove a row in a table but I would like to see if it's possible for it to reload the entire row or ...
0
votes
2answers
38 views
How to disable dates in jQuery datepicker?
I have 2 datepicker for filling checkin text box and checkout text box. I have to enable only checkin+13 days in checkout datepicker.
What I tried is-
$("#Chkin").datepicker({ dateFormat: ...
1
vote
2answers
52 views
how to implement a scrollbar
I'm new to jquery and javascript and have no idea how to solve this problem: I have a simply jquery chat and there is a div with the id 'show_messages' in which I load all the messages from my ajax ...
0
votes
1answer
11 views
Codeigniter-Js Chat room message updater
Ok i have thought of this for so much time that im stuck and cant think of another perspective to start with...In my attempt to create a chat room i now have the need to re-code my chat updater ...
0
votes
1answer
99 views
Calling two functions at the same time in JavaScript
I have two functions of JS to object which its id is cd-dropdown. The first function used to convert the listbox to the stylish drop down list; it works fine. The second function is an AJAX call to ...
0
votes
0answers
39 views
how to run ajax before page unload
I have a page with an iframe and website in that have a code to replace with top level window.
in my researches I understand that I can't stop redirection but I want to run ajax during the unload.
...
0
votes
0answers
19 views
How can I throw an exception out of an AJAX call and out of a function?
Say if I have this jQuery AJAX call within a function:
function callPageMethod(methodName, parameters) {
var pagePath = window.location.href;
$.ajax({
type: "POST",
url: ...
0
votes
0answers
24 views
Memory leak in Firefox with jQuery, AJAX, and HTML5 canvas
I'm polling my server using jQuery's ajax function and then using that data to update a canvas. I poll the server once each second (this is not done using setInterval(), in case you're wondering... I ...