Posts o[firebase] push with priority
Post
Cancel

o[firebase] push with priority

PHP

1
2
3
4
5
6
7
8
9
10
11
12
13
14
var myObj = JSON.stringify({name: 'My Name', address: 'My Address', '.priority': 123});
$.post('http://demo.firebase.com/demo/testing.json', myObj);
```**javascript**

```js
	var add2DB = new Firebase(url);

	vat itemOBJ = {
		title : $('#oCATEGORY_name').val(),
		logo : $('#oCATEGORY_logo').val(),
		'.priority' : $('#oCATEGORY_date').val()
		}

	add2DB.push(itemOBJ)

origin - http://www.pipiscrew.com/?p=779 firebase-push-with-priority

This post is licensed under CC BY 4.0 by the author.
Contents

Trending Tags