-
Posts
1,490 -
Joined
-
Last visited
Content Type
Forums
Status Updates
Blogs
Events
Gallery
Downloads
Store Home
Posts posted by A.D.A.M
-
-
Well this is normal.
You are trying to login on website but u dont have user/pass.
You need to add:
$("#user").value("UrUsername");
$("#pass").value("YourPass");
Then you can trigger login button click.
Mhmm yh I did that according to koka's suggestion, and i know that works.I thought the values would already be there seeing that my browser is set to remember the login details... gonna work on it a bit more, see if there is a way to do the same without having to assign a value
-
so if set the password/ username value by myself in jQuert it works, but ill work on it a bit more so it doesn't need to this
-
Oh I'll try this and let you know how well it goes.you just trigger button click, and login data are already there remembered by browser? My guess is that those login data aren't loaded yet when you start your script, so you trying to send empty login form, try to log what is inside those inputs (login, password) when you are triggering button click.
Ps. checking if button exists and then triggering click would be neat, cause if tehre is no login button - there is no things to do (you're logged in)
-
Yes, if there's no break, a case will fall through to the next. You'll often see it used like this where more than one case runs the same code.
Keep in mind that while fall through can be intentional, it can also be a bug because people can forget to add the break.
So its called a fall? Good thing to know.
Also, off topic but you proficient in jQuery.If you are I'd appreciate if you would look at my other thread.
-
Anybody proficient in jQuery willing to give a hand?
-
After reading this http://stackoverflow.com/questions/252489/why-was-the-switch-statement-designed-to-need-a-break and retesting the code it is infact having a fall through occur allowing it to sort of loop through these expressions.
so the previous assumption was correct?
-
I just ran it and yes Y comes out to 2 but I don't exactly know why. To my knowledge it should only return the value of Case 6 as it is the value that matches X.
the way i understand is its missing the break; so it runs till the end? Since only when i do that will it give the expected result
-
Switch statements are not loops so no. If you were to put it within a do while, while, or for, this would be ok although it would never enter case 7 as x does not ever equal 7.
so how does it ever cout<<y; a 2? because there isn't a break shouldn't it like well break...
-
You can do this, just matters on the compiler. Xcode gives no errors with this program.
What are you trying to do with this program though? If you were trying to make it random then this is not the way to do it.
oh it's just a question i have to solve (spotting code errors and all that). Yeah my friends with dev C++ says it compiles fine...
-
Ah ok thanks. Another thing if you don't mind.
say we have something like this
int x;int y;x=3;switch (x+3){ case 6: y = 0; case 7: y = 1; default: y += 1; }
this would cause the it to run each case yeah? Until it reaches default?
so first y would be assigned 0 , then 1 ,and then y= y+1 thus 1+1 so 2?
-
I got this mcq am wondering if i got the right idea:
3. Analyze the following code:
Code 1:
bool even;
int number;
if (number % 2 == 0)
even = true;
else
even = false;
Code 2:
bool even = (number % 2 == 0);
a. Code 2 has syntax errors.
b. Code 1 has syntax errors.
c. Both Code 1 and Code 2 have syntax errors.
d. Both Code 1 and Code 2 are correct, but Code 2 is better.If i use VS2015 i can't compile without explicitly saying int number=0; (since without it num is undefined.) so answer would be "C" correct? Since 2 definitely can't run without initialisation of num.
-
have you tried the "inspect element" console? maybe that gives more information about the error
Justa bunch of stuff flashing purple specifically something called pformusername numspan and the password counterpart, also discovered that i'f i press a key on the keyboard like "k" or arrowup it logs in.
-
SLICK:"I use Steam/FB/Twitter to login, are those accounts screwed? : Nope, those are handled in a special way, you are fine."
- pastafingers, r1Ns3, C0LL0SS0S and 1 other
- 4
-
So here's what I'm tryna do: I'm trying to make a script to click the login button or submit a form for a website so I don't need to click log in every time I open the site since that particular website log you out after a session expires.
Here's the code I currently have :
Currently what is does is infinitely refreshing the page and the website says "Invalid login please try again". (Have the assumption that its a loop error or something ).
Sometimes if you randomly click the page(not button) it somehow logs in.
Some help directed to what I need to do would be helpful.
-
I think a Define R5 would fit your bill, but that's a mid tower iirc. There's also the Phanteks enthoo pro. Really good cases.
-
I'm waiting until they come up with 144hz 1440p IPS ultrawide with VRR that's "affordable". <3Yeah I do have one, flawless widescreen is a beautiful thing. The guy who works on it is a saint. The app that he has actually let me play evil within at 2560x1080p no letter box, and allowed fov adjustment about 2 days after the game came out. It took the devs 3 weeks just to add leterbox removal.
-
Oh yeah you have one right? I'll remember that if I ever go the route of ultrawide or surround.Screw that noise.
http://www.flawlesswidescreen.org/
Flawless widescreen is love, flawless widescreen is life.
-
Check this out man http://www.wsgf.org/dr/elder-scrolls-v-skyrim/en
-
I think this would fall under correlation doesn't imply causation and anecdotal evidence.
-
would you look at that. I decided to research myself after the slow response. I arrived at this exact monitor finding that it has exactly what I want.Oh. I know. I'm getting this monitor.
https://pcpartpicker.com/part/dell-monitor-u2414h Dell U2414H
-
What about size or refresh rate?
Is 23" enough?
Or 60hz?
My GF uses a LG 23MB35 for Photoshop, which is 1080p, IPS, 23" and 60hz.
Pivot and swivel are also available.
Cost me 159€.
23"-24" and 60hz is fine.
Regarding the LG suggested I can't find a listing of it in Malaysia.(probably should have mentioned that... oops)
-
Hi guys
I'm looking for suggestions of a 1080p IPS monitor (60hz & 23' or 24")around $250. I'd like to have height adjustable ones. Pivot and swivel would be nice if available
Thanks for suggestions
BTW: I live in Malaysia so the choice won't be as broad.
-
Well I'd like to try the mouse definitely, see if it lives up to its name haha. Mouse I'm using now is a cheapo so this should be better .
-
I'll join
ZTE Axon 7 Giveaway
in LTT Releases
Posted
I'm actually considering this, or the OP3 as a next phone. Really like the unibody design, though I suppose it'l need a skin/case so it doesn't slip. The finger scanner being on the back is nice, so is the expandable storage option. Also hurray for 64GB being standard screw 16GB. Lastly is that dedicated audio they got going seems pretty sweet, would love to see how it handles the higher end cans. Though I'd like to see if they'll unlock the bootloader.
*Also low light performance seems sketchy, which is a shame. And a few software annoyances I'd like them to iron out.