Skip to main content
www.pointplus.co.uk
Home
Privacy
Home
How know Base Path of Drupal in JavaScript
Submitted by newaction on Fri, 2011-12-16 18:05
$(document).ready(function() {
alert(Drupal.settings.basePath);
});
Login
to post comments
Navigation
Bookmarks
User login
Username:
*
Password:
*
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
What code is in the image?:
*
Enter the characters shown in the image.
Request new password
MySQL
Array
Analysing MySQL Query performance
MySQL DATE TIME QUERY
Jquery
Array
Jquery to intercept link click temporarily
Using Ajax to Validate Forms
Limit numer of character typed into a textbox or textarea
Building an AJAX currency converter with PHP, jQuery and Google
Simple Tabs with CSS and jQuery
Simulating a click in jQuery/JavaScript on a link
Loading a Drop Down List Using jQuery
Insert Record Into Database Using Jquery
Simple search with PHP, jQuery and MySQL
Making a shoutbox with PHP, MySQL and jQuery
Create Simple Carousel using jQuery
Use jQuery To Submit Form To PHP/MySQL
Simple Tooltip with jQuery and CSS
jquery overlay loading bar div
how to trigger mouse click event via jQuery
Inline Modal Window with CSS and jQuery
Javascript tips
Array
Using JavaScript to access form objects when there are multiple forms
Using Javascript to get value form another site via JSONP
Javascript programmatically activate an onclick method
Simple JavaScript ‘Frame Busting’ Code
HTML
Array
HTTP Headers
Dupal6 Dev
Array
Create Virtual Hosts and run multiple websites on Amazon server
Updating tables schema: hook_update_N() functions - modifyting a table
Create Drupal form using theme_table() like module list form
Send Email attachment to recepients
Drupal: diplay block in node
Drupal show database table display
List Drupal nodes
Get any Drupal data in javascript
How know Base Path of Drupal in JavaScript
Create image upload field using Drupal Form API
Denying access to a module content
How use AJAX in DRUPAL
CODE TO CLEAR ALL CACHE
Drupal Overide form field options
HOW TO BUILD A PAID MEMBERSHIP WEBSITE USING DRUPAL - NEW VIDEO TUTORIALS!
Single sign-on
Using the Drupal API from the command line
Display menu or tab according to nodetype in Drupal
Drupal cheat sheet
Drupal: programmatically log out the user
How know recipient read the email or newsletter?
Create a user programmatically
Drupal6 Theming
Array
Theming Drupal 6 from the module layer
Create a sortable table using “theme_table()” function in Drupal
Theme Drupal Form
Clear theme registry
Drupal6 Performance
Array
Tuning a high traffic Drupal 6 site
Drupal site SEO makeover
Drupal Creating an input format programmatically
Apache tunning
Array
Installing Apache Solr on Drupal 6
Apache Performance Tuning
Configuring Apache for Maximum Performance
Configuring Apache for Maximum Performance
PHP
Array
PHP site search script
using dom to extract and replace images in HTML
PHP get text between two texts
Fetch and display site icon
EMAIL WITH Pear Mail extension
Set/Get Cookie using PHP and JavaScript
PHP File Upload and Download Script
PHP Parse DOM - Get all links
How to create PHP based email form with file attachment
Upload image using hidden iFrame (Simple Photo Manager)
How to Make a Slick Ajax Contact Form with jQuery and PHP
PDO with MySQL DB Usage Example
How upload file using cURL?
Determine execution time in PHP
How to parse RSS
HTML to PDF Converter Script
How to get Latitude/Longitude from an address (or Geocoding ) using PHP
Delete files in a folder older than a set date
DATABASE DUMP SCRIPT
Php Display image dynamically
Generate Webpage Thumb Dynamically