I'm using jquery mobile in my express project. How could I use Ajax for page linking instead of loading all the page?
You use the jquery get method to get the html content which you generate using express.
$.get( 'path/to/content', function( data ) {
$( '#div' ).html( data );
});
In express you have something like:
app.get( '/path/to/content' , function( req , res ) {
res.render( '<div>Some Content</div>' );
} );
In res.render you would usually render from a template rather than an HTML string.