Meharg: Or another better perform?
Weikert: Cork: konrados thanks
Weikert: I still dont get the json p****r par tho
Thornberry: How would I find this tag in a textarea !Image Name where image name could be any string, and the brackets are empty, then find the caret position?
Thornberry: The caret position of the empty brackets
Jakiela: Thornberry: you would have to use regex
Thornberry: Yeah, got the RegEx sorted now
Thornberry: So, I can replace the whole tag
Thornberry: I’ll store each tag in an array, and use the index for the replace in the textarea, does that soudn liek a good solution?
Klare: I would recommend using regex groups to get the full match
Zangger: Then you can give .replace a function and process each match individually
Hoit: Something like .replace/!.*.*/g, functionall, name, argument { return ‘!’, name, ”, argument, ” .join”; }
Nimmo: It returns the new modified string
Thurgood: Remember that the caret position gets reset if you modify the textarea from js
Culberth: So store the old position first
Clubbs: Also that is my typing code from my head, so it might be wrong
Pell: Hello. I need some ***istance with some code that has a small bit to do with jquery, but it has more to do with why an integer variable is getting random values.
Ihm: Can you share your code in a jsfiddle or pastie?
Slider: Http://pastebin.com/2vckk2ia
Aggarwal: My jqgrid data is loaded from some internal locations, so I’m not sure if I can get that up.
Wicklund: The output in the else block inside the for loop is correct.
Gralak: Gentleman easy question for you masters. how do i jquery select a tag that is div aria-control=”nba-stuff”
Ihm: Better to put a cl*** on it though
Siminski: Why is it better to put a cl*** on it? it seems arbitrary what info about a tag jquery uses
Ihm: Attributes are not meant to be selected upon
Ihm: Nkwelle: nothing it jumping out at me. someone else might see something
Ihm: Personally though i’d look into changing that to use map if possible
Mccoid: Has someone used the jquery serialize array with a form that has some repeatable fields and some non repeatable ?
Steinmiller: The big issue is that pos is getting set to some arbitrary value like 7 no matter what.
Cue: I feel like fields with the names location arent handled how i thought they would be
Ihm: Well pos is being set to whatever the last visible columns “.position” is
Julock: Nkwelle: is there 7 columns in your grid?
Mutherspaw: Nkwelle: fiddle that with the grid data
Boni: Hey all, Is possible to make Facebook Pixel as a lazy loading? What do you think?. I have no sense
Pruess: Ihm: pos should be set to the the object’s position in the original array when the name in the copy equals the name in the original.
Valsin: D-rex: You’re right. There are 7 columns. For some reason, the hidden column 0 is not being removed from columns.
Lessmann: I’ll try and see if I can chef up some data.
Doderer: D-rex: there are actually 8 columns.
Decamp: 7 if counting starts at 0.
Decambra: Are there 7 visible columns?
Dealy: Line 18 could be your problem
Masteller: 8 visible, 10 columns total. Fiddle: http://jsfiddle.net/yNw3C/13641/
Csuhta: Line 20 outputs the correct value, and that is the only place and value that I thought gets ***igned to pos.
Walrod: Hi guys, any ideas/plugins on how I could make a sticky headline like this? 😮
Walrod: Http://www.eginstill.com/project/enter-the-loft-amsterdam/
Walrod: The top of the page it scroll down, and when another one appears they change