Background -
I have my website code hosted on a linux server. My website allows new registrations for employers (http://www.gymandspajobs.com/Employer/Employer.php). The filled-up forms are verified by JavaScripts in the folder "/javascript" and if the information is found ok, the data is submitted via JavaScript HTTP request object and...
Hey there:
I've got a test site here (still in development) and I'm trying to get the little notification at the top to stay hidden once you click close.
Currently my script is like this:
<style type="text/css">
<!--
.hide {
display:none;
}
.show {
display:block;
}
-->
</style>
<script type="text/javascript">
<!--
var state;
window.on...
In PHP and Javascript by which function can we know what's end users operating system when an end user uses a site?
...
I'm new at jQuery (just picked up a book this morning!) and I'm trying to hide an element; it doesn't seem to be working.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>Test</title>
<script type="text/javascript" src="javascript/jquery-1.3.2.min.js...
Hi
So I've been pondering this for some time and trying out various strategies. Basically I'm trying to create a bookmarklet that, when clicked, pops up a header on whatever page you happen to be on. In this header, there is a small form, the contents of which are submitted to a server. Once this is submitted, the header should disappea...
Hey,
For some reason, when I try assigning a actionlisetner to the list elements the value does not stick. Here is what I mean:
Event.observe(window, 'load', function() {
for(i = 1; i <= $$('ul#review_list li').length; i++) {
$('cover_' + i).observe('click', function(event) {
alert(i);
});
}
});
So there are...
Hi all!
I'm making a calendar generator in JavaScript. I need the Unix Timestamp for easter day midnight, for a given year. Can anyone tell me how I need to do that (in JavaScript)?
Thanks in advance.
PHP's function can be found here: http://www.php.net/easter%5Fdate
...
It is quite easy to load HTML content from your custom URLs/Web services using JQuery or any other similar framework. I've used this approach many times and till now and found the performance satisfactory.
But all the books, all the experts are trying to get me to use JSON instead of generated HTML. How's it much more superior than HTML...
I just started to develop a widget for Google desktop and found the platform quite limited. From what I could see, the widgets are using XML to define the interface that is a mix of HTML with some built-in user controls.
Can I use a CSS style attached to it so I can define the styles I want for components? Or at least define styles in ...
My large JavaScript application is now pushing 35,000 function calls every 4 seconds. Performance is still ok (on a 1.6ghz Atom), but is there a point where browsers start to stop working?
...
Is there any Javascript Editor Control like in visual studio? Thanks...
...
Facebook has a nice scroll effect which I would like to replicate with jQuery. When you load a page it starts at the top then scrolls to the selected anchor.
I've tried doing this (page.html#anchor) and using the scrolling plugin for jQuery however it just goes straight to that anchor without using the scroll effect.
So can I delay the...
Okay i know that it's important for your website to work fine with javascript disabled.
In my opinion one way to start thinking about how to design such websites is to detect javascript at the homepage and if it's not enabled redirect to another version of website that does not javascript code and works with pure html (like gmail)
Anot...
I am creating an Image gallery and i want a few images to load when the next button is clicked.....
for example,
$("#next").css({cursor:"pointer"}).click(function(){
//load image1,image2,image3
});
HTML
<img src="image1.jpg"><img src="image2.jpg"><img src="image3.jpg">
i don't want to append them to a division, these image tag...
I want to pull some data from a page containing a javascript function taking parameters including the this paramter ex: displayNav('11512010', 'J88903', 'itna', this, 'detailSpec','false','true');
My first issue is that I am not sure what I should do with the this object. I want to execute the script and get back the result somehow. I a...
I made a function that overwrite the the :hover of some elements on a page. It fades between the normal and the :hover effect. That for i had to create a .hover class in my CSS file. I think this is a little unclean. How could i read the the :hover pseudo class contents?
...
Hi there, guys.
I would really appreciate to get your help on this, as I can't seem to detect and solve the problem I'm having with an AJAX functionality on a site that I'm currently developing.
I have a webform that makes an asynchronous call to a handler (.ashx) that delivers a XML response that is later processed by a Javascript cli...
I'm currently using form.serialize() in an ajax request to submit a contact form, but my problem is that form.serialize() grabs ALL form elements including "buttons".
example form:
name (input type = text)
email (input type = text)
body (text area)
submit (input type = button)
clear (input type = reset)
I'd only like to serialize for...
When I submit using this function I get an incorrect result for $_REQUEST["add_single"] in the database of 127, incorrect. but the javascript result is 188, correct. If i replace $_REQUEST["add_single"] with 10 I get 10 inserted into the database.
if (isset($_REQUEST["add_single"])) {
save_single_bracelet($_REQUEST["id"], $_REQUEST[...
Hi
Using JQuery, what I want to do is create a function that when I call the function, it will fade the background color of my "#page" DIV from the CSS defined background color to yellow then back to the original CSS background color for #page.
Any ideas on how I can do this with JQuery?
I know JQuery has both an "animate" and "highli...