« first day (3317 days earlier)      last day (1850 days later) » 
00:00 - 22:0022:00 - 23:00

22:00
I don't recall whether or not it needs to be appended to the dom, but even if it did, that can be done behind the scenes so to speak.
A simple display none would do
I am about to try the first example from here - developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement
my question is in my update call, when I'm done with update, I want to navigate to another page
but right now the navigation happens immediately after the reducer call
because of async
How do I make sure it waits
put it in a callback
@Euridice01 please post your code
usually you can use a callback, await, or then
22:06
then is a callback
then takes a callback
same difference
But I'm using redux saga
so what's the proper practice there?
In this example below (taken from MDN - https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement)
how do I add a input field with a value do it becomes a form field?
```
var f = document.createElement("form");// Create a form
document.body.appendChild(f); // Add it to the document body
f.action = "/cgi-bin/some.cgi"; // Add action and method attributes
f.method = "POST";
f.submit(); // Call the form's submit method
```
5 mins ago, by JBis
@Euridice01 please post your code
Jay
Jay
22:12
anyone have much experience with tooltips? I'm trying to apply one to a textbox when it has a particular class, but it seems like they only work on container elements like divs
|| formatting RahulDesai
@JBis Invalid command! Try help for a list of available commands..‍.‍.‍.‍.‍
@RahulDesai Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
@RahulDesai
|| mdn document.createElement
Damn it google, stop changing your code
Take a look at that. Create the element and then element.value = "Something"
22:14
|| mdn php
I have something like this right now
updateItems = () => {
    const { code } = this.state;
    const { loading, error } = this.props;
    const id = this.props.navigation.state.params.id;

    this.props.updateItems({
      id: id,
      code: code,
    });

    if (!loading && !error) {
      this.props.navigation.navigate("newPage");
    }
  };
That's the update function that gets called and inside is the reducer action
it fires
then the navigation happens
22:26
how do I attach cookie to Form.submit() ? tried googling quick, no luck
going to rewrite everything in ReasonML
@RahulDesai what do you mean? You set a cookie with Document.cookie. You don't do it in the form itself.
|| mdn Document.cookie
thanks
why would you star that
22:44
Why would you post it
@KevinB because I forget about people with no sense of humor
00:00 - 22:0022:00 - 23:00

« first day (3317 days earlier)      last day (1850 days later) »