Jquery seems not to work

Hi all,

I am using drupal 7 and I have a simple jquery script, it is as follows:

if (Drupal.jsEnabled) {
	$(document).ready(function() {
		$('a.hide-link').click(function(e) {
			this.html('TEST');
			// Prevent the browser from handling the click
			return false;
		});
		
	});
}

However, when I do this, Ijust get redirected to the page, by removing Drupal.jsEnabled, I get the follwing code:

no page found

I deleted something, and when I logg in as the admin user I have no pages it says page not found what did I do? How can I correct this issue?

Browser detection module to display content based on result?

Can anyone suggest a module that will determine Operation System of the visitor and then display content based on the result?

eg: If Window X is determined, then display category Windows Software. If Mac is determined, show Apple software first.

I know this can be done with a JavaScript function or PHP variable to get 'HTTP_USER_AGENT'.

Allow user password on signing in

Hi,

How do I add "enter password" & "renter password" fields upon registering a new user in drupal 7.x ?

Currently there are only "user name" & "email" fields.

Thanks.

alter a specific type of form

Hi all,

I want to alter all the forms that handle blocks. I want to add an access property to some form elements.

How to do this :)

Regards, Geert

acces control on parts of form (drupal 7)

Hi all,

Fisrt of all, I am very enthusiastic about Drupal 7. It definitely makes drupal much more user friendle (maybe even the most user friendly of all CMS out there?). However, In my battle to make it even more userfriendly, I want to get rid of some of the 'unnecessary forms' for my user administrators.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x