You can like:
window.open('url', 'window name', 'window settings')
jQuery:
$('a#link_id').click(function(){
window.open('url', 'window name', 'window settings');
return false;
});
You could also set the target
to _blank
actually.
More Related Contents:
- Fade animation while scrolling
- Difference between .ajaxSubmit() vs .submit()
- Check if a user has scrolled to the bottom (not just the window, but any element) [duplicate]
- Proper way to wait for one function to finish before continuing?
- How do you log all events fired by an element in jQuery?
- Deprecation warning in Moment.js – Not in a recognized ISO format
- How to trigger ngClick programmatically
- Attach an event in a child iframe to a handler in the parent window
- When should I use return false in jquery function?
- jQuery .append() not appending to textarea after text edited
- Why cache jQuery objects?
- Bootstrap 4 File Input
- How can I differentiate a manual scroll (via mousewheel/scrollbar) from a Javascript/jQuery scroll?
- What is the elegant way to get the latest date from array of objects in client side?
- How to reenable event.preventDefault?
- Read :hover pseudo class with javascript
- Problem with jQuery.ajax with ‘delete’ method in ie
- Enabling Save button on JQ Grid with InlineEditing and CellEdit
- Difference between $(“#id”).load and $.ajax?
- jQuery text() and newlines
- jQuery if statement with variable mathematical operator [duplicate]
- Change table columns order
- Callback function for JSONP with jQuery AJAX
- How can I return a view from an AJAX call in Laravel 5?
- How to use Javascript to check and load CSS if not loaded?
- Use Django template tags in jQuery/Javascript?
- Cancel click event in the mouseup event handler
- Javascript: Easier way to format numbers? [closed]
- AngularJS event on window innerWidth size change
- How to replace the entire html webpage with ajax response?