Miwa
May 10, 2020, 8:26am
1
Hi, I’ve checked this tutorial Passing Values Between your Pages
but when I click “online” image on http://174.138.46.199/ , it seems that the page moved to the lined one (./search/) once, but came back to the original page again. how can I keep the linked page shown?
what I want to do is, when click this image, I would like to set value “on_offline=1” and pass to the next linked page.
ben
May 10, 2020, 12:45pm
2
Just guessing here, but could this be the problem?
<base href="/BestinX/">
Miwa
May 10, 2020, 12:59pm
3
Hello,
Thanks! I don’t know why that line was added…I removed it though, but it reacts same way.
Miwa
May 11, 2020, 11:31am
4
I still can’t solve this, anyone has some clue?
max_gb
May 11, 2020, 12:28pm
5
Your link for the image us currently set to nothing…
<a is="dmx-link" href=""><img class="card-img-top" alt="Card image cap" src="img/location/online.png"></a>
Are you using routing for your links?
Miwa
May 11, 2020, 12:38pm
6
I set like below in the link, is this setting wrong?
<a dmx-on:click="session1.set('on_offline',text1.value);browser1.goto('./search/')"><img class="card-img-top" alt="Card image cap" src="img/location/online.png"></a>