Modal in PHP with php include
◷
تاریخ انتشار: 1395/3/10 | ساعت: 9:52
Vote count: 0 I'm trying to use modal in PHP with the include function but there is an error with the header.php file I guess. Here is the code for the modal: <!DOCTYPE html> <html> <head> <title></title> <?php include 'header.php'; ?> </head> <body> <button id="myBtn">Open Modal</button> <div id="m...
Optimizing detection of changed class attribute in ORM class
◷
تاریخ انتشار: 1395/3/10 | ساعت: 9:52
Vote count: 0 For a small project I'm implementing a wrapper with ORM behavior. Objects fetched from a co ected database are stored inside a buffer and then forwarded to other program parts. If attributes of these "buffer items" are changed I want to set a flag that later enables me to quickly check...
Node in the groovy. Could not find matching constructor for: groovy.util.Node(groovy.util.NodeList, java.lang.String)
◷
تاریخ انتشار: 1395/3/10 | ساعت: 8:47
Vote count: 0 def xmlRecords = new XmlParser().parseText(peopleString) // println xmlRecords.person.subject_datas println "123" def datas = xmlRecords.person.subject_datas def newNode = new Node(datas, 'subject_data') def newSubNode = new Node(newNode, "subject_field_id", ["type", "integer"], "123ma...
Create MDF database file to ASP.NET 5
◷
تاریخ انتشار: 1395/3/10 | ساعت: 8:47
Vote count: 0 I am new to ASP.NET 5 and have a question regarding the local database mdf file. In ASP.NET, it is very easy to create a mdf file and put it in the APP_Data folder. However, when it comes to ASP.NET 5, I could not find such function and I even could not create such file. Does anyone kn...
Unable to install libgdamm4.0-dev on Ubuntu 14.04 LTS
◷
تاریخ انتشار: 1395/3/10 | ساعت: 8:47
Vote count: 0 After this command on the terminal: sudo apt-get install libgdamm4.0-dev It displays: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libgdamm4.0-dev E: Couldn't find any package by regex 'libgdamm4.0-dev' How to inst...
why does this keep saying it's not definied
◷
تاریخ انتشار: 1395/3/10 | ساعت: 7:25
Vote count: 0 Using firebug it keeps stating that this.speak is not defined and I don't understand why that is.I am trying to output it to the screen $(document).ready (function() { function person(rank, number, id) { //properties this.intRank = rank; this.intNumber = number; this.strId = id; this.e...
Shallow nested routes in Phoenix framework
◷
تاریخ انتشار: 1395/3/10 | ساعت: 7:25
Vote count: 0 Looking at Phoenix, is there an equivalent to shallow routing similar to how rails accomplishes this? This would allow you to reference /posts/1 instead of /users/2/posts/1 e.g., resources "/users", UserController do resources "/posts", PostController, shallow: true end asked 2 mins ag...
Use Javascript/jQuery in CSS to make border-right mirror border-bottom?
◷
تاریخ انتشار: 1395/3/10 | ساعت: 7:25
Vote count: 0 First off, let me apologize for my ignorance. I'm a new developer just trying to lea the ropes, and I've come across a roadblock here. I'll briefly explain my WP setup: Section div > Section class > section::before and ::after pseudo elements. I have inherit for my pseudo, so when I us...
How can I exclude a set of Folders while creating a branch in tortoise svn
◷
تاریخ انتشار: 1395/3/10 | ساعت: 6:18
Vote count: 0 Currently, my project has a folder structure as below: ProjectName ServiceName01 01Smoke 02DataVariance ServiceName02 01Smoke 02DataVariance .. ServiceNameNN 01Smoke 02DataVariance I want to create a branch of this project excluding all 01Smoke folders and the tests within it as it con...
Three tables, two foreign keys and one confused programmer
◷
تاریخ انتشار: 1395/3/10 | ساعت: 6:18
Vote count: 0 So, I have myself all confused with how to pull info from three tables. Let me set this up fairly clearly (I hope)... I have three tables FoodTruck, MenuItems, and Ingredients. Each food truck can have multiple menuItems (has a truckID column tied to the FoodTruck truckID) and each men...
Delegating domain google dns
◷
تاریخ انتشار: 1395/3/10 | ساعت: 6:18
Vote count: 0 I am using NIC.ar and google cloud as host of my app, I have created a zone dns for the cloud and is like this The group of dns are the following as I understood ns-cloud-b1.googledomains.com. ns-cloud-b2.googledomains.com. ns-cloud-b3.googledomains.com. ns-cloud-b4.googledomains.com. ...
WKErrorDomain error 4 from WKWebView when calling existing JSFunction
◷
تاریخ انتشار: 1395/3/10 | ساعت: 5:00
Vote count: 0 No matter what I do, I can't call this js function successfully without generating error. <script type="text/javascript"> function getmessage() { //$('#discussion').append('<li>dummy</li>'); } $(function () { var chat = $.co ection.chatHub; chat.client.broadcastMessage = function (mess...
chromium select option list positioning - force it to appear on bottom
◷
تاریخ انتشار: 1395/3/10 | ساعت: 5:00
Vote count: 0 I got problem with chromium webview in Unreal Engine... when I click on select, the list of options appears on top of it instead bottom... any way to force Chrome to show the list on bottom? Maybe some style or something? asked 1 min agoFlash Thunder Let's block ads! (Why?)
Vertical align middle and float right left div within div
◷
تاریخ انتشار: 1395/3/10 | ساعت: 5:00
Vote count: 0 I am trying to vertical align two divs inline in a parent div. See: https://jsfiddle.net/xh8rbnmh/ The vertical align is straight forward, but I am also trying float the divs, one left and one right inline. Is this possible to do? Html: <div class="outer"> <div class="i er_right"> RIGH...
fix web player for mobile phones
◷
تاریخ انتشار: 1395/3/10 | ساعت: 4:00
Vote count: 0 i have a site and it plays youtube videos like mp3. its working perfectly on pc but its not playing on mobile phones, EX: iphone, windows mobile. i want to play also on mobile phones see example of my site : www.mymus.ge there is a code js (function ($) { /* jshint strict: false */ /* ...
How to get the region of the current user from boto?
◷
تاریخ انتشار: 1395/3/10 | ساعت: 4:00
Vote count: 0 Problem: I'm trying to get the region of the authenticated user from boto3. Use case: I'm working on adding cache to https://github.com/pmazurek/aws-fuzzy-finder. I would prefer to cache the result on per-region basis. This package uses boto to get user authentication data (keys and th...
React.js, syntax for handling promises?
◷
تاریخ انتشار: 1395/3/10 | ساعت: 4:00
Vote count: 0 what is the best way to handle promises in React.js? The code below works - is there a more reacty way? handleFormSubmit(input){ this.setState({ originId: input.originId, destinationId: input.destinationId, radius: input.radius, search: input.search }); var routeSearch = new FindRoutes...
mySql order by query by Year and Month name
◷
تاریخ انتشار: 1395/3/10 | ساعت: 2:58
Vote count: -1 I want get the table rows order by date(year, month and date) if date is blank it should come first if date is present then it should be according to date in decreasing order. if two rows has same date then second row come first. How to make it done through mySql query asked 1 min ago...
Incorrect output JSON string. Error in Date
◷
تاریخ انتشار: 1395/3/10 | ساعت: 2:58
Vote count: 0 My ObjectMapper bad to convert date. In year and month are errors. For example: {"idtests":null,"title":"sda","date":"3916-06-29T09:27:48"} I send: example My code: @FXML private void AddTestAction(){ if(!title.getText().isEmpty() && date.getValue() != null && minutes.getValue() != nul...
Some bug with UILocalNotification
◷
تاریخ انتشار: 1395/3/10 | ساعت: 2:58
Vote count: 0 I have problem with UILocalNotification. It fires twice. Why?? Here's my part of code where notofication is created (+ debug info + result). I have spent 3 hour in searching. But didnt find nothing. asked 1 min agoOstap Skrisha Let's block ads! (Why?)