Find toolbar not picking up button text
If I have a button element on my page like so: <input type="button" name="ddd" id="ddd" value="Missing embedded data in the response">
...I cannot find instances of the button text using the page find function (Ctrl+F). So if I try 'Missing' in the Find toolbar, the button text is not found.
Izmjenjeno
Izabrano rješenje
The Post Reply button has textContent: <button type="submit" class="btn btn-submit big" accesskey="s">Post Reply</button>
You can't use Find to find text like a label that is part of a button. You can use the Inspector or search the page source to locate such 'hidden' data.
data:text/html;charset=utf-8;base64,PGlucHV0IHR5cGU9ImJ1dHRvbiIgbmFtZT0iZGRkIiBpZD0iZGRkIiB2YWx1ZT0iTWlzc2luZyBlbWJlZGRlZCBkYXRhIGluIHRoZSByZXNwb25zZSI+
Pročitajte ovaj odgovor sa objašnjenjem 👍 1All Replies (2)
Hmm, it seems to find the Post Reply button when I search the word post on this page. How about for you?
Does it make any difference whether the button is visible or outside the viewport?
(Also, I assume your page isn't intercepting Ctrl+f, you're just getting the default Find experience.)
Could you test in Firefox's Safe Mode? In its Safe Mode, Firefox temporarily deactivates extensions, hardware acceleration, any userChrome.css/userContent.css files, and some other advanced features to help you assess whether these are causing the problem.
If Firefox is not running: Hold down the Shift key when starting Firefox. (On Mac, hold down the option/alt key instead of the Shift key.)
If Firefox is running: You can restart Firefox in Safe Mode using either:
- "3-bar" menu button > "?" Help button > Restart with Add-ons Disabled
- (menu bar) Help menu > Restart with Add-ons Disabled
and OK the restart.
Both scenarios: A small dialog should appear. Click "Start in Safe Mode" (not Refresh).
Any improvement?
Odabrano rješenje
The Post Reply button has textContent: <button type="submit" class="btn btn-submit big" accesskey="s">Post Reply</button>
You can't use Find to find text like a label that is part of a button. You can use the Inspector or search the page source to locate such 'hidden' data.
data:text/html;charset=utf-8;base64,PGlucHV0IHR5cGU9ImJ1dHRvbiIgbmFtZT0iZGRkIiBpZD0iZGRkIiB2YWx1ZT0iTWlzc2luZyBlbWJlZGRlZCBkYXRhIGluIHRoZSByZXNwb25zZSI+
Izmjenjeno