Keitsock: It will do stuff, then it will complete the native action, which is to navigate to #
Keitsock: Ie the top of the page
Richardt: No messge is being returned, think it’s some limitation or safety in google spreadsheet’s. but i guess i need to change something on the function to return 0 if none is found
Keitsock: But if you e.preventDefault; / return false; it will stop the native action
Sedor: I think I found it – :active for css
Keitsock: Really irrelevant to your question :p
Buttitta: Thank you Keitsock, thats exactly what I needed because once the user clicks the element I will need to save the element name to send to a php script
Curles: Keitsock, bit relevant, but return false also exist out of function if done early, while e.preventDefault can go anywhere.
Palaspas: Keitsock, the problem was with 3000. for some reason, it doesnt work with th script when i used the but it works in the console, as i said, removing them solved it.
Lattus: Anyway, initially, i imagine the was needed when i need to define multiple cuepoints, within the same event, so removing them for my purposes are fine
Gerrero: Ntarki: For help, ask your question. Be patient. Code samples should be pasted in a paste service see !paste. Tell us 1 what you want to happen, 2 what is actually happening, and 3 any error messages you find see !describe and !debug.
Brumaghim: Http://jsfiddle.net/VG8MJ/253/ can you help me with this? I don’t know how to ignore the text inside the a tag
Cone: Instead of ignoring it, why don’t you just translate the string to a proper html entity?
Crockwell: How can i find out which messages an iframe is listening to without reverse engineering the js source?
Contopoulos: I thought it would be onmessage or message event listeners that would help me, but apparently, they don’t show up in the event handler list of the debug console
Wear: Meshugga, unless the iframe has a source for listening to msg’s, by default it doesnt
Malone: Basicaally, the iframe ****, but have the msg’ing system implemented
Walburn: Makalak: ***uming the iframe has code listening for messages
Zabarkes: How do i find what it listens for?
Vanarsdale: Or let’s make that a secondary concern: how do i find that it listens for something in the first place?
Ally: You’d obiusly need to check the source to find it. it could be anything from potatoes to elephants
Bebeau: Meshugga, but eitherway, this would be how to define onmessage http://www.w3schools.com/jsref/event_onmessage_sse.asp
Praino: So you’d need to find that
Keitsock: Curles: right but that’s irrelevant to the question of “what should I return by default?”
Ulbrich: Meshugga, also, i’m personally not aware of a way to check if that listener is even listening to something. without looking at the code. since by default, you can’t access iframe content cross domain atleast
Lindenberger: That wasn’t aimed at me was it?
Keitsock: AlphaAtom: npm modules. everything should be in modules
Keitsock: Write a package.json for it, declare its dependencies
Keitsock: If it gets too big, refactor into reusable modules
Keitsock: And then I wrote one main “app.js” module that calls all the rest
Madise: Keitsock: https://gist.github.com/tejasmanohar/c33526d0c3b87741d979 – thoughts on this variation of the code i showed earlier?
Erazmus: Hi, when sending html pieces with ajax how do I declare the encoding of that chunk?
Forgue: Didn’t need async/await at all.
Kanaan: I can’t tell if you’re serious D:
Keitsock: Tejasmanohar: Seems a little less clear, I liked how you liked it
Grumbles: AlphaAtom: he’s serious lol
Keitsock: Tejasmanohar: how you had it*