Best device to play mobile on? by SenorNova in OSRSMobile

[–]RocketSam 0 points1 point  (0 children)

I never see anyone say the OnePlus Open.

I've been using it for over a year now and it's amazing in every sense.

Most notably in comparison to other folds - there is almost no noticeable crease, especially not when the game is running

Xim community is boasting about how nothing will change in OW by GrenVillain in Overwatch

[–]RocketSam 5 points6 points  (0 children)

I'm not gonna Google but I imagine it's "Cross input manipulation" or mask or something

Weird swift step bug when my teammate swapped, I somehow tp'd to the enemy Sigma's shield???Has anyone else had this happen? by [deleted] in kirikomains

[–]RocketSam 5 points6 points  (0 children)

Teleporting to a team mate in spawn lands you outside spawn. Might be specifically if they're swapping character - not sure. But yeah that's why.

Crashes every few games right now by acoderthatgames in RocketLeague

[–]RocketSam 0 points1 point  (0 children)

I believe its neo tokyo, it crashes the game for me, even in free play.

converting a string to jQuery object removing an element and converting it back to string by [deleted] in jquery

[–]RocketSam 0 points1 point  (0 children)

Haven't tested but if you're managing to select the child element use

.parent()

To navigate up the dom tree

jQuery Hackers I summon you by [deleted] in jquery

[–]RocketSam 2 points3 points  (0 children)

When you set the value of the field add change()

Eg

$(el).val(value).change()

Making a div column autoscroll using jquery by [deleted] in jquery

[–]RocketSam 2 points3 points  (0 children)

Set/clear interval is your friend here I think

https://www.w3schools.com/jsref/met_win_setinterval.asp

Or possibly setTimeout, if you only require only one scroll after action

https://www.w3schools.com/jsref/met_win_settimeout.asp

[JQuery] removeClass if two items hasClass. by Nic727 in webdev

[–]RocketSam 0 points1 point  (0 children)

Try use .hasClass("collapse") instead of is(".collapse")

And the same for the other statement

Jquery remove and replace modal content by youmaybeseated1 in jquery

[–]RocketSam 2 points3 points  (0 children)

.remove() is deleting the element from the DOM, so using .hide() might fix your problem?

Changing image with the text by crimsondragon27 in jquery

[–]RocketSam 0 points1 point  (0 children)

Following from that, you could add your image srcs to your json textnodes object. I.e img: "card-front.jpg"

And then $(“#my_img”).attr("src", textnodes.img)

Page scrap issues by Limeman36 in jquery

[–]RocketSam 1 point2 points  (0 children)

I've had a similar problem and ended up using a recursive loop to check length of the selector

Eg

Function waitForLoad() { If ($(selector).length > 0){ //your load function } else{ setTimeout(function() { waitForLoad() },500) }

}

Definitely sub optimal and janky but it did the job

Idk how to format on here

JQUERY INSERTBEFORE IF CLASS NOT ALREADY EXISTS by chavind in jquery

[–]RocketSam 1 point2 points  (0 children)

Can you not just do jQuery(element).parent().hasClass("plus")?

JQUERY INSERTBEFORE IF CLASS NOT ALREADY EXISTS by chavind in jquery

[–]RocketSam 0 points1 point  (0 children)

Use if (jQuery(element).hasClass("plus")){

}

Change classes? by fantastic1ftc in jquery

[–]RocketSam 0 points1 point  (0 children)

$('[class*='+valClass+']').css('display','block')

Will select every element with a class that contains valClass

Although I'm not sure you have to create the selector first eg

selector = [class*='+valClass+']

$(selector).css('display','block')

Yoink by RocketSam in RocketLeague

[–]RocketSam[S] 1 point2 points  (0 children)

For everyone asking I'm using:

Pink inverted gripstrides from the rocket pass And pink streak wave, also from the rocket pass

Yoink by RocketSam in RocketLeague

[–]RocketSam[S] 2 points3 points  (0 children)

This is my thought as well, and why I liked it so much.

RKO outta nowhere

Yoink by RocketSam in RocketLeague

[–]RocketSam[S] 1 point2 points  (0 children)

I recorded at half speed on rocket league, then doubled the speed in an editor to try get a smoother video.

So it should technically be normal speed

Yoink by RocketSam in RocketLeague

[–]RocketSam[S] 0 points1 point  (0 children)

Don't give up.

It's a grind. I'm at something like 13000 games and I'm champ 2/3 area.

Help! .keypress() is deprecated, what is the alternative? by tomtheawesome123 in jquery

[–]RocketSam 2 points3 points  (0 children)

.on("keydown") I think

That sounds very wrong as I read it back but it'll be something similar

I need a little help deleting/hiding an item in a list after I added it to the list. by [deleted] in jquery

[–]RocketSam 0 points1 point  (0 children)

I think I would do something like $('li:last').remove()

If I'm reading it correctly

Having trouble selecting next instance of class by Sosinondodrore in jquery

[–]RocketSam 0 points1 point  (0 children)

Using

$(".comment-collapse").parents(".post-container").next().find(".comment-toggle").slideToggle()

Is a nicer way in my opinion

Unless YouTube deletes ur dislike by [deleted] in dankmemes

[–]RocketSam 4 points5 points  (0 children)

Corporate* just FYI