bootstrap-tour


Locate element in Bootstrap tour by Class Name, Css or Xpath


I am using bootstrap tour.
#Html.ActionLink("New", "Create", "Test", new { test= Model.Id }, new { #class = "btn btn-primary" })
I would like to access the above mentioned item. But I do not have an Id for that. How would I access that elelemt
I don't know what language that code is that you posted, but you can use class names to locate an element. Just do something like:
element: 'button.btn.btn-primary'
That should work, if it's the only item on the page that matches. If not, you'll need to add an id attribute or use a more specific query.

Related Links

Bootstrap multi page tour - start from current page/path in the tour
Multiple page bootstrap traversal is not possible
bootstrap tour tip is not working inside scrollable Div
trigger introJs With a button or link
How to remove state from bootstrap tour
Locate element in Bootstrap tour by Class Name, Css or Xpath

Categories

HOME
client
gremlin
deezer
mfc
path-finding
stock
setup-deployment
programming-languages
razor
paw-app
rdf
v8
survey
ip
enterprise-library-5
flyway4
awesome-wm
facebook-php-sdk
user-input
reveal.js
rascal
zend-framework3
leiningen
visual-studio-2005
try-catch
telephony
foselasticabundle
tostring
clickonce
tar
csrf-protection
facebook-instant-articles
microsoft-sync-framework
tdd
virtualdub
elasticsearch-net
ejabberd-module
quote
nat
textmate
mozilla
rotational-matrices
http-referer
git-merge
adobe-premiere
az-application-insights
sqlite2
android-fingerprint-api
preconditions
google-closure
http-redirect
total-commander
s
skeleton-css-boilerplate
google-datalayer
apache-fop
gcsfuse
mcafee
lync-client-sdk
blacklist
eventkit
word-vba-mac
abcpdf9
grails-tomcat-plugin
httplistener
elements
livequery
wapiti
prerequisites
collapse
content-length
security-testing
tarjans-algorithm
p2
bitcoinj
xojo
p4java
rebol3
system.net.webexception
resty-gwt
typo3-neos
imdbpy
distutils
typoscript2
dmoz
google-email-migration
datawindow
ticoredatasync
asyncfileupload
boost-filesystem
doh
horizontal-accordion
createwindow
asp.net-mvc-areas
suppress
forums
nintendo-ds
data-driven
project-hosting
mediarss

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App